Update Release Notes

Update Release Notes Index

Java™ SE Development Kit 7, Update 5 (JDK 7u5)

The full version string for this update release is 1.7.0_05-b06 (where "b" means "build") and the version number is 7u5.

Olson Data 2012c

JDK 7u5 contains Olson time zone data version 2012c. For more information, refer to Timezone Data Versions in the JRE Software.

Security Baselines

The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 7u5 are specified in the following table:

JRE Family Version JRE Security Baseline (Full Version String)
7 1.7.0_05
6 1.6.0_33
5.0 1.5.0_36
1.4.2 1.4.2_38

For more information about security baselines, see Deploying Java Applets With Family JRE Versions in Java Plug-in for Internet Explorer.

Bug Fixes

This release contains fixes for security vulnerabilities. For more information, see Oracle Java SE Critical Patch Update Advisory.

Notable Bug Fixes in JDK 7u5

This list includes some of the notable bug fixes in JDK 7u5.

Note: Some of the following bugs are fixed on a build that was made available after the GA of 7u5. If you experience the following issues, check your installed JDK 7u5 build number. If it is not b06, get the latest JDK 7 update version from OTN.

Area: hotspot/runtime_arguments

Synopsis: Improve VM configuration file loading.

JDK 7u5 contains changes to the default implicit loading of the .hotspot_compiler and .hotspotrc file. For existing deployments which rely on .hotspot_compiler (e.g. to exclude a method from hotspot compilation), an unsupported behavioral option has been provided to simulate the old loading behavior.

Command line options to support old behavior:

-XX:Flags=.hotspotrc

will revert to old behavior for .hotspotrc.

-XX:CompileCommandFile=.hotspot_compiler

for the .hotspot_compiler file.

Area: java/jar
Synopsis: Regression - jar command changes file permissions.

Due to a regression, the permissions of any jar file updated with the jar comm

and are changed to read and write by user only.

This regression affected the Solaris and other Unix platforms. It did not affect the Windows platform.

See 7175845.

The following table lists some of the other bug fixes included in this release:

Bug ID Category Sub_Category Description
7166687 java classes_net InetAddress.getLocalHost().getHostName() returns FQDN
7158391 java install Wrong update version text shown in mac JDK installer
7177094 java javawebstart/other Regression: Application fails with "application requesting unrestricted access" error due to cache failure
7177216 javajava/char_encodings native2ascii command changes file permissions of input file

Known Issues

Area: hotspot/compiler
Synopsis: Crash looking up exception handler.

VM exits with Internal Error message "missing exception handler" in sharedRuntime.cpp:728. It could happen when PermGen is full. The recommended workaround is to increase PermGen size (default is 64Mbyte):

-XX:MaxPermSize=256m.

See 7158553.

Area: hotspot/runtime_arguments
Synopsis: JVM not printing unknown -XX options.

If an unrecognized -XX option is supplied to the JVM, it exits. However, the resulting error message does not clearly state that the reason for the JVM exiting is because of the unrecognized option.

See 7162488.

Area: install/au_check
Synopsis: JRE 6ux auto update is broken if JRE 7u4 or JRE 7u5 is uninstalled.

Users may experience difficulty in updating JDK6 Family JREs when JDK7 Family JREs co-exist with JDK6, and are subsequently uninstalled (leaving the JDK6 Family JREs installed).

For example JRE v1.6.0_28 is installed on a system. When JRE v1.7.0_03 or greater is installed then later removed from the same system, the 1.6.0_28 JRE upgrade mechanism is broken.

If this scenario is suspected, use the following workaround:

  1. Open Control Panel->Java Control Panel
  2. Click the 'Update Tab'
  3. Click 'Update Now'

If the user does not have the latest JDK6 Family JRE installed, and no update is detected, the JRE needs to be manually upgraded. To manually upgrade the JDK6 Family JRE, visit the Oracle Technology Network, download and execute the installer for the latest JRE. Alternately, the user can remove the JDK6 Family JRE and install the latest version of JDK7 Family JRE.