HP-UX 11i Java™ JDK/JRE Version 7.0.09 Release Notes HP Part Number: 5900-3771 Published: Feb 2014 Edition: 1.
© Copyright 2014 Hewlett-Packard Development Company, L.P. Legal Notices Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Java™ and all Java based trademarks and logos are trademarks or registered trademarks of Oracle America and/or its affiliates in the United States and other countries.
Contents HP secure development lifecycle...................................................................................................5 Overview................................................................................................................6 Java SE 7 Features....................................................................................................6 New in the 7.0.09 release ........................................................................................
Java API Documentation Updater Tool..................................................................
HP secure development lifecycle Starting with HP-UX 11i v3 March 2013 update release, HP secure development lifecycle provides the ability to authenticate HP-UX software. Software delivered through this release has been digitally signed using HP's private key. You can now verify the authenticity of the software before installing the products, delivered through this release. To verify the software signatures in signed depot, the following products must be installed on your system: • B.11.31.
Overview Java™ Platform, Standard Edition 7 (Java SE 7) for HP-UX provides tools for developing and deploying 32-bit and 64-bit Java applications on HP-UX 11i Integrity systems. See “HP-UX system requirements ” (page 13) for information about which HP-UX releases are supported. Release notes are not included in the software kit, and instead, this online version is your source of information for the release.
• • ◦ Addition of try-with-resources statement ◦ Enhanced type checking, which allows for improved ability to catch multiple exception types and better analysis of rethrown exceptions User Interface ◦ Addition of JLayer class for Swing components ◦ Nimbus Look and Feel (L&F) moved to standard API namespace for ease of use ◦ Improvements for mixing heavyweight (AWT) and lightweight (Swing) components in the same container ◦ Support for non-rectangular shaped and translucent windows ◦ Addition
• Java XML ◦ • Internationalization ◦ • • Support for Java API for XML Processing (JAXP) 1.4.5 Support for Unicode 6.0.0 JDBC 4.
Guide for Java 2 and the Java Troubleshooting Guide for HP-UX Systems on the Business Support Center (BSC) at http://www.hp.com/go/hpux-java-docs, and at the Oracle web site: http://docs.oracle.com/javase/7/docs/. For a list of -X options, see the "Hotspot Technology Tools and Commands," section of the HP-UX Programmer's Guide for Java 2. The HotSpot JVM for HP-UX 11i for HP Integrity systems is suitable for both client and server workloads.
Security fixes in the 7.0.
CVE Component Note CVE-2014-0368 Networking See Note 2 CVE-2013-5910 Security See Note 1 CVE-2013-5895 JavaFX See Note 1 CVE-2013-5888 Deployment See Note 4 CVE-2014-0382 JavaFX See Note 1 CVE-2013-5898 Deployment See Note 1 CVE-2014-0411 JSSE See Note 5 NOTE: 1. Applies to client deployment of Java only. This vulnerability can be exploited only through sandboxed Java Web Start applications and sandboxed Java applets. 2. Applies to client and server deployment of Java.
JDK/JRE 7.0.09 Patch requirements are the same as for 6.0, plus the following patches: • mpas on HP-UX 11i v2 (11.23) Integrity Systems On HP-UX 11i v2 (11.23) Integrity systems, to use mpas (java_q4p), patch PHKL_35552 is required. • setuid/setgid users If you use setuid/setgid, you will need to install patches and set up /etc/ dld.sl.com to run your application. For additional information, see “Running Java with setuid or setgid on HP Integrity Systems” (page 21).
http://ftp.hp.com/pub/softlib/hpuxjava-patchinfo/index.html. HP-UX system requirements HP Integrity servers running HP-UX 11i v2 or v3 (11.23 or 11.31) are supported. Refer to the following website for more information about HP Integrity servers: HP Integrity Servers. Installation instructions From theJDK/JRE 7.0.x Downloads and Documentation page, select (click) a JDK/JRE 7.0.x version to download from the “JDK/JRE 7.0.x Downloads” list.
If you use the GUI version of swinstall, by default the top level bundle Java70 will appear. Then: • To install the complete JDK (including the JRE), mark this bundle and do the install. • To install only the JRE, select Actions-> Open Item. Then from the list, mark Jre70, and then select Actions-> Install. Installing into an alternate location To install the software into an alternate location: • Designate filesets – either: ◦ JDK installation: Java70.Jdk70.JDK70-* and Java70.Jre70.
swinstall -s / Java70.Jre70.JRE70-* @/ ln -s //opt/java7/* File structure JDK/JRE The following diagram displays an abbreviated form of the file structure: java7 ____|_________________________________________ | | | | | bin lib jre demo include | | | java tools.jar | javac dt.jar | javadoc ir.idl | javah jconsole.jar | javap orb.
Removing support for unwanted architectures in the JRE Under the JRE license agreement, partners who redistribute the JRE may remove support for unwanted architectures. Functional components may NOT be removed under any circumstances. You may remove support for unwanted architectures as explained below. The following command assumes that the JRE has been installed in the standard location, /opt/java7/. To remove 64-bit support: /usr/sbin/swremove Java70.Jre70.JRE70-IPF64 Java70.Jre70.
conjunction with-XX:GCLogLimits, the GC log file would fail to rotate correctly in accordance with the parameters provided to the -XX:GCLogLimits option. This was a temporary issue and has been fixed in JDK/JRE 7.0.04. G1 Garbage Collector and -Xverbosegc Starting in JDK/JRE 7.0.04, the -Xverbosegc option supports the G1 garbage collector. To produce Xverbosegc output for G1, use the options: -XX:+UseG1GC -Xverbosegc To see an explanation of the produced fields, use the command: java -Xverbosegc:help.
Option -XX:+SXTElimination enabled by default in 7002 Starting in JDK/JRE 7.0.01, there is an option, -XX:+SXTElimination, that enables a run-time compiler optimization that removes redundant sign-extension instructions from generated code. This option is only available in 64-bit mode. Using this option has resulted in approximately 5% improved performance on some applications. In 7.0.01, by default, SXTElimination is false. Starting in 7.0.02, by default, SXTElimination is true.
Interruptible I/O support is disabled by default on JDK 7.0 On previous releases of the HP-UX JDK, the Thread.interrupt() method can interrupt some blocking I/O operations, resulting in InterruptedIOException thrown by the target thread and leaving socket or file streams in an inconsistent state. This behavior is the same as on the Solaris platform, but different from Windows and Linux. This function is controllable by the the JVM option UseVMInterruptibleIO. In releases prior to JDK 7.
> > bytecode pointer: 0x3682e0be, bytecode: fast_igetfield ... To determine if hyperthreading is enabled, run the setboot system command: setboot To disable hyperthreading, change the boot parameter and reboot the system: setboot -m off reboot To work around the crash with hyperthreading enabled, use the option: -XX:-RewriteBytecodes Stream Control Transport Protocol (SCTP) supported with limitation Stream Control Transport Protocol (SCTP) in Java is supported in Java 7 on HP-UX.
libjvm.so no longer links with libstd_v2.so Starting with JDK 6.0.07, the libjvm.so library is no longer linked with libstd_v2.so. The intent was to reduce the chance of incompatibility when using JNI code compiled with a C++ compiler other than aCC. However, applications that previously relied on libjvm.so being linked with libstd_v2.so might encounter an UnsatsifiedLinkError for an unsatisfied symbol. To solve this, the application will need to link with libstd_v2.so directly.
Now it is allowed, but patches must be installed, the SHLIB_PATH and LD_LIBRARY_PATH environment variables must be set, and a configuration file must be set up. The HP-UX 11i September 2005 Quality Pack patch bundle provided support for /etc/ dld.sl.conf, which allows system administrators to specify a list of trusted paths on the system. When executing within a setuid environment, the dynamic loader will compare the paths in SHLIB_PATH/LD_LIBRARY_PATH against the list of trusted paths found in /etc/dld.sl.
Alternatively, for convenience of users and for those who have further modified the generated documentation, Oracle provides the Java API Documentation Updater, a repair-in-place tool. Source code is available with the download if you have a non-standard environment. The Java API Documentation Updater Tool is a separate download (http://www.oracle.com/technetwork/java/javase/downloads/ java-doc-updater-tool-1955731.html) and not included in any JDK/JRE bundles.