Patch Name: PHSS_8838 Patch Description: s700_800 10.[12]0 Virtual Machine for Java Environment Creation Date: 96/10/04 Post Date: 96/11/15 Hardware Platforms - OS Releases: s700: 10.10 10.20 s800: 10.10 10.20 Products: N/A Filesets: OS-Core.CORE-SHLIBS Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_8838 Symptoms: PHSS_8838: This contains a fix for compilation of Native methods using Java, and removes bogus error messages that get generated during postinstall. PHSS_8443: This patch will be superceeded by PHSS_8838. Defect Description: PHSS_8838: The third party testsuites failed to uncover this problem. PHSS_8443: This patch contains a typedefs_md.h file under /usr/java/include - which contains #include "/CLO/BUILD_ENV"... - this causes a cpp error, when one tries to compile native methods.Also, the postinstall script does not remove the symlinks cleanly, and it will be fixed in the next, superceeding patch. SR: 4701334813 Patch Files: /usr/bin/java /usr/java/bin/.java_wrapper /usr/java/bin/appletviewer /usr/java/bin/javadoc /usr/java/bin/s700/javah_g /usr/java/bin/s700/javah /usr/java/bin/s700/java_g /usr/java/bin/s700/java /usr/java/bin/s700/javap_g /usr/java/bin/s700/javap /usr/java/bin/s700/javac /usr/java/bin/s700/javac_g /usr/java/bin/s700/jdb /usr/java/include/StubPreamble.h /usr/java/include/bool.h /usr/java/include/byteorder.h /usr/java/include/common_exceptions.h /usr/java/include/config.h /usr/java/include/debug.h /usr/java/include/decode.h /usr/java/include/exceptions.h /usr/java/include/finalize.h /usr/java/include/interpreter.h /usr/java/include/javaString.h /usr/java/include/jmath.h /usr/java/include/log.h /usr/java/include/monitor.h /usr/java/include/monitor_cache.h /usr/java/include/native.h /usr/java/include/oobj.h /usr/java/include/path.h /usr/java/include/profile.h /usr/java/include/signature.h /usr/java/include/standardlib.h /usr/java/include/sys_api.h /usr/java/include/threads.h /usr/java/include/timeval.h /usr/java/include/tree.h /usr/java/include/typecodes.h /usr/java/include/typedefs.h /usr/java/include/utf.h /usr/java/include/verify.h /usr/java/include/zip.h /usr/java/include/hp-ux/OSName_md.h /usr/java/include/hp-ux/_inttypes.h /usr/java/include/hp-ux/async_gc.h /usr/java/include/hp-ux/byteorder_md.h /usr/java/include/hp-ux/fd_md.h /usr/java/include/hp-ux/filesys_md.h /usr/java/include/hp-ux/interrupt.h /usr/java/include/hp-ux/interrupt_md.h /usr/java/include/hp-ux/io_md.h /usr/java/include/hp-ux/jmath_md.h /usr/java/include/hp-ux/limits_md.h /usr/java/include/hp-ux/oobj_md.h /usr/java/include/hp-ux/path_md.h /usr/java/include/hp-ux/prof_md.h /usr/java/include/hp-ux/sysmacros_md.h /usr/java/include/hp-ux/timeval_md.h /usr/java/include/hp-ux/typedefs_md.h /usr/java/include/java_lang_String.h /usr/java/include/java_lang_ClassLoader.h /usr/java/include/java_lang_Thread.h /usr/java/include/java_lang_ThreadGroup.h /usr/java/lib/javac.properties /usr/java/lib/s700/libnet_g.sl /usr/java/lib/s700/libnet.sl /usr/java/lib/s700/libagent_g.sl /usr/java/lib/s700/libagent.sl /usr/java/lib/s700/libmmedia_g.sl /usr/java/lib/s700/libmmedia.sl /usr/java/lib/s700/libawt_g.sl /usr/java/lib/s700/libawt.sl /usr/java/lib/s700/libtawt_g.sl /usr/java/lib/s700/libtawt.sl /usr/java/lib/s700/libjpeg_g.sl /usr/java/lib/s700/libjpeg.sl /usr/java/lib/appletviewer.properties /usr/java/lib/classes.zip what(1) Output: /usr/bin/java: None /usr/java/bin/.java_wrapper: None /usr/java/bin/appletviewer: None /usr/java/bin/javadoc: None /usr/java/bin/s700/javah_g: None /usr/java/bin/s700/javah: None /usr/java/bin/s700/java_g: None /usr/java/bin/s700/java: None /usr/java/bin/s700/javap_g: None /usr/java/bin/s700/javap: None /usr/java/bin/s700/javac: None /usr/java/bin/s700/javac_g: None /usr/java/bin/s700/jdb: None /usr/java/include/StubPreamble.h: None /usr/java/include/bool.h: None /usr/java/include/byteorder.h: None /usr/java/include/common_exceptions.h: None /usr/java/include/config.h: None /usr/java/include/debug.h: None /usr/java/include/decode.h: None /usr/java/include/exceptions.h: None /usr/java/include/finalize.h: None /usr/java/include/interpreter.h: None /usr/java/include/javaString.h: None /usr/java/include/jmath.h: None /usr/java/include/log.h: None /usr/java/include/monitor.h: None /usr/java/include/monitor_cache.h: None /usr/java/include/native.h: None /usr/java/include/oobj.h: None /usr/java/include/path.h: None /usr/java/include/profile.h: None /usr/java/include/signature.h: None /usr/java/include/standardlib.h: None /usr/java/include/sys_api.h: None /usr/java/include/threads.h: None /usr/java/include/timeval.h: None /usr/java/include/tree.h: None /usr/java/include/typecodes.h: None /usr/java/include/typedefs.h: None /usr/java/include/utf.h: None /usr/java/include/verify.h: None /usr/java/include/zip.h: None /usr/java/include/hp-ux/OSName_md.h: None /usr/java/include/hp-ux/_inttypes.h: None /usr/java/include/hp-ux/async_gc.h: None /usr/java/include/hp-ux/byteorder_md.h: None /usr/java/include/hp-ux/fd_md.h: None /usr/java/include/hp-ux/filesys_md.h: None /usr/java/include/hp-ux/interrupt.h: None /usr/java/include/hp-ux/interrupt_md.h: None /usr/java/include/hp-ux/io_md.h: None /usr/java/include/hp-ux/jmath_md.h: None /usr/java/include/hp-ux/limits_md.h: None /usr/java/include/hp-ux/oobj_md.h: None /usr/java/include/hp-ux/path_md.h: None /usr/java/include/hp-ux/prof_md.h: None /usr/java/include/hp-ux/sysmacros_md.h: None /usr/java/include/hp-ux/timeval_md.h: None /usr/java/include/hp-ux/typedefs_md.h: None /usr/java/include/java_lang_String.h: None /usr/java/include/java_lang_ClassLoader.h: None /usr/java/include/java_lang_Thread.h: None /usr/java/include/java_lang_ThreadGroup.h: None /usr/java/lib/javac.properties: None /usr/java/lib/s700/libnet_g.sl: None /usr/java/lib/s700/libnet.sl: None /usr/java/lib/s700/libagent_g.sl: None /usr/java/lib/s700/libagent.sl: None /usr/java/lib/s700/libmmedia_g.sl: None /usr/java/lib/s700/libmmedia.sl: None /usr/java/lib/s700/libawt_g.sl: None /usr/java/lib/s700/libawt.sl: None /usr/java/lib/s700/libtawt_g.sl: None /usr/java/lib/s700/libtawt.sl: None /usr/java/lib/s700/libjpeg_g.sl: None /usr/java/lib/s700/libjpeg.sl: None /usr/java/lib/appletviewer.properties: None /usr/java/lib/classes.zip: None cksum(1) Output: 1349576013 350 /usr/bin/java 3746028577 1433 /usr/java/bin/.java_wrapper 3924924060 1080 /usr/java/bin/appletviewer 1047699359 786 /usr/java/bin/javadoc 904165502 313072 /usr/java/bin/s700/javah_g 530876048 111122 /usr/java/bin/s700/javah 840766351 1620184 /usr/java/bin/s700/java_g 1609314317 391259 /usr/java/bin/s700/java 1632613286 469916 /usr/java/bin/s700/javap_g 2476506418 156276 /usr/java/bin/s700/javap 4074048123 58 /usr/java/bin/s700/javac 3235557424 71 /usr/java/bin/s700/javac_g 393088885 136 /usr/java/bin/s700/jdb 3095883463 1089 /usr/java/include/StubPreamble.h 1785506747 968 /usr/java/include/bool.h 2643981066 935 /usr/java/include/byteorder.h 2169575816 1260 /usr/java/include/common_exceptions.h 3226451689 958 /usr/java/include/config.h 680864179 1068 /usr/java/include/debug.h 489140663 1048 /usr/java/include/decode.h 2066519407 2190 /usr/java/include/exceptions.h 735210717 2535 /usr/java/include/finalize.h 3983459630 14753 /usr/java/include/interpreter.h 3025664391 2480 /usr/java/include/javaString.h 3426666700 1019 /usr/java/include/jmath.h 374506501 2136 /usr/java/include/log.h 1633450747 2713 /usr/java/include/monitor.h 1880012915 1721 /usr/java/include/monitor_cache.h 2328501059 1193 /usr/java/include/native.h 60969367 12094 /usr/java/include/oobj.h 2503238905 1139 /usr/java/include/path.h 643586457 922 /usr/java/include/profile.h 1550389775 2004 /usr/java/include/signature.h 2074769846 2481 /usr/java/include/standardlib.h 3383264379 5262 /usr/java/include/sys_api.h 281658982 4520 /usr/java/include/threads.h 3172867855 953 /usr/java/include/timeval.h 2954263696 3007 /usr/java/include/tree.h 3584660442 4911 /usr/java/include/typecodes.h 3957027886 3116 /usr/java/include/typedefs.h 4091024898 1289 /usr/java/include/utf.h 3323627129 3169 /usr/java/include/verify.h 2693450720 1739 /usr/java/include/zip.h 1146912781 936 /usr/java/include/hp-ux/OSName_md.h 223630804 4834 /usr/java/include/hp-ux/_inttypes.h 232278753 990 /usr/java/include/hp-ux/async_gc.h 3445678711 1016 /usr/java/include/hp-ux/byteorder_md.h 2641246025 1622 /usr/java/include/hp-ux/fd_md.h 1661790930 1000 /usr/java/include/hp-ux/filesys_md.h 1390336979 4286 /usr/java/include/hp-ux/interrupt.h 2581136378 1271 /usr/java/include/hp-ux/interrupt_md.h 1611275861 1064 /usr/java/include/hp-ux/io_md.h 2753545693 961 /usr/java/include/hp-ux/jmath_md.h 162993728 1076 /usr/java/include/hp-ux/limits_md.h 3823245968 1035 /usr/java/include/hp-ux/oobj_md.h 1818310634 1763 /usr/java/include/hp-ux/path_md.h 3996780625 1006 /usr/java/include/hp-ux/prof_md.h 781371517 2617 /usr/java/include/hp-ux/sysmacros_md.h 181553629 1041 /usr/java/include/hp-ux/timeval_md.h 3217639889 3409 /usr/java/include/hp-ux/typedefs_md.h 1746019681 455 /usr/java/include/java_lang_String.h 594319962 907 /usr/java/include/java_lang_ClassLoader.h 3934690473 1765 /usr/java/include/java_lang_Thread.h 619204947 736 /usr/java/include/java_lang_ThreadGroup.h 1100929217 11791 /usr/java/lib/javac.properties 39180193 122000 /usr/java/lib/s700/libnet_g.sl 2027592920 37017 /usr/java/lib/s700/libnet.sl 316889134 193060 /usr/java/lib/s700/libagent_g.sl 3672823678 49421 /usr/java/lib/s700/libagent.sl 4252015203 37860 /usr/java/lib/s700/libmmedia_g.sl 4237123285 12314 /usr/java/lib/s700/libmmedia.sl 2891769032 2059952 /usr/java/lib/s700/libawt_g.sl 762178689 304369 /usr/java/lib/s700/libawt.sl 1233573070 768368 /usr/java/lib/s700/libtawt_g.sl 591799210 131484 /usr/java/lib/s700/libtawt.sl 2502519770 637280 /usr/java/lib/s700/libjpeg_g.sl 4146448827 139798 /usr/java/lib/s700/libjpeg.sl 3969735185 1691 /usr/java/lib/appletviewer.properties 3873302173 1475175 /usr/java/lib/classes.zip Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_8443 Equivalent Patches: None Patch Package Size: 9100 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_8838 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_8838.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_8838.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_8838. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_8838.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_8838.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None