java

JDK 8u172 Release Notes

Java SE 8u172 Bundled Patch Release (BPR) - Bug Fixes and Updates

The following sections summarize changes made in all Java SE 8u172 BPRs. Bug fixes and any other changes are listed below in date order, most current BPR first. Note that bug fixes in previous BPR are also included in the current BPR.

To determine the version of your JDK software, use the following command:

java -version

Changes in Java SE 8u172 b37

Bug Fixes

BugId Component Subcomponent Summary
8189161 (Confidential) deploy deployment_toolkit JWS: Method required to clean up all running instances by jnlp.sis.sessionid
8189098 (Confidential) deploy webstart JWS: Request for a method to limit the number of JVMs running on the client

Changes in Java SE 8u172 b35

Bug Fixes

BugId Component Subcomponent Summary
8200359 core-libs java.time (tz) Upgrade time-zone data to tzdata2018d
8196491 xml jax-ws Newlines in JAXB string values of SOAP-requests are escaped to " "
8164480 hotspot compiler Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same
8194690 deploy webstart JRE bundled in App-V package will not start Java Web Start applications
8199304 deploy webstart javaws.exe failed to launch UTF-8 encoded JNLP file
8196011 javafx web Intermittent crash when using WebView from JFXPanel applications

Changes in Java SE 8u172 b31

Please note that fixes from prior BPR (8u162 b37) are included in this version.

Bug Fixes

BugId Component Subcomponent Summary
8198794 hotspot runtime Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3
8197518 security-libs org.ietf.jgss Kerberos krb5 authentication: AuthList's put method leads to performance issue
8199406 hotspot gc Performance drop with Java JDK 1.8.0_162-b32

Java™ SE Development Kit 8, Update 172 (JDK 8u172)

April 17, 2018

The full version string for this update release is 1.8.0_172-b11 (where "b" means "build"). The version number is 8u172.

IANA Data 2018c

JDK 8u172 contains IANA time zone data version 2018c. 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 8u172 are specified in the following table:

JRE Family Version JRE Security Baseline
(Full Version String)
8 1.8.0_171-b11
7 1.7.0_181-b09
6 1.6.0_191-b09

JRE Expiration Date

The JRE expires whenever a new release with security vulnerability fixes becomes available. Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Third Party Bulletin. This JRE (version 8u172) will expire with the release of the next critical patch update scheduled for July 17, 2018.

For systems unable to reach the Oracle Servers, a secondary mechanism expires this JRE (version 8u172) on August 17, 2018. After either condition is met (new release becoming available or expiration date reached), the JRE will provide additional warnings and reminders to users to update to the newer version. For more information, see JRE Expiration Date.

Known Issues

docs/release_notes

Description for Toolkit.getImage() and Toolkit.createImage()

The changes made under JDK-8033530 introduced an inconsistency between the implementation for and the documentation of the following methods:

  • java.awt.Toolkit.getImage(URL u)
  • java.awt.Toolkit.createimage(URL u)

The description in the API document should read:

This method first checks if there is a security manager installed. If so, the method calls the security managers checkPermission() method with the corresponding permission to ensure that the access to the image or the image creation is allowed. If the connection to the specified URL requires either URLPermission or SocketPermission, then URLPermission is used for security checks.

JDK-8154405

Changes

client-libs/java.awt

Touch Keyboard for Swing/AWT Text Components

This release adds support for automatically showing the touch keyboard for Swing/AWT text components on Microsoft Windows 8 or later. A user can display the touch keyboard either by using a touch screen to tap the text component area or by using a mouse to click in the area, when a keyboard is not attached to a computer.

The system property awt.touchKeyboardAutoShowIsEnabled controls whether this functionality is enabled in the JDK. This functionality is enabled by default. However, if the functionality is not needed, the user can switch it off from the command line by setting the system property to false:

-Dawt.touchKeyboardAutoShowIsEnabled=false

See JDK-8166772

Bug Fixes

This release contains fixes for security vulnerabilities described in the Oracle Critical Patch Update.

# BugId Component Subcomponent Summary
1 JDK-8130400 client-libs 2d Test java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java fails with ClassCastException
2 JDK-8080444 client-libs demo Update SwingSet2 to use installed L&Fs instead of hard-coded list.
3 JDK-8147542 client-libs java.awt Linux: ClassCastException when repainting after display resolution change
4 JDK-8166772 client-libs java.awt Touch keyboard is not shown for text components on a screen touch
5 JDK-8188855 core-libs   Fix VS10 build after "8187658: Bigger buffer for GetAdaptersAddresses"
6 JDK-8154017 core-libs java.lang Shutdown hooks are racing against shutdown sequence, if System.exit()-calling thread is interrupted
7 JDK-8187658 core-libs java.net Bigger buffer for GetAdaptersAddresses
8 JDK-8165466 core-libs java.text DecimalFormat percentage format can contain unexpected %
9 JDK-8136356 core-libs java.util:i18n Add time zone mappings on Windows
10 JDK-8169424 core-libs javax.script src/share/sample/scripting/scriptpad/src/scripts/memory.sh missing #!
11 JDK-8079510 core-svc java.lang.management AIX: avoid UnsatisfiedLinkError by providing empty basic implementations of getSystemCpuLoad and getProcessCpuLoad
12 JDK-8177721 core-svc javax.management Improve diagnostics in sun.management.Agent#startAgent()
13 JDK-8185498 deploy plugin Console log shows that cert is expired (but TSA valid) although no certs in chain is expired.
14 JDK-8187822 hotspot compiler C2 conditonal move optimization might create broken graph
15 JDK-8170358 hotspot gc [REDO] 8k class metaspace chunks misallocated from 4k chunk freelist
16 JDK-8170395 hotspot gc Metaspace initialization queries the wrong chunk freelist
17 JDK-8187629 hotspot runtime NMT: Memory miscounting in compiler (C2)
18 JDK-8184991 hotspot runtime NMT detail diff should take memory type into account
19 JDK-8139673 hotspot runtime NMT stack traces in output should show mt component
20 JDK-8187685 hotspot runtime NMT: Tracking compiler memory usage of thread's resource area
21 JDK-8187331 hotspot runtime VirtualSpaceList tracks free space on wrong node
22 JDK-8055755 hotspot svc Information about loaded dynamic libraries is wrong on MacOSX.
23 JDK-8031304 hotspot svc Add dcmd to print all loaded dynamic libraries.
24 JDK-8059036 hotspot svc Implement Diagnostic Commands for heap and finalizerinfo
25 JDK-8044107 hotspot svc Add Diagnostic Command to list all ClassLoaders
26 JDK-8189265 javafx controls Closing stage does not free internal resources
27 JDK-8183100 javafx controls Styles not applied reliably after Java 8u92
28 JDK-8178275 javafx samples Ensemble: Upgrade version of Lucene to 7.1.0
29 JDK-8189280 javafx swing Memory leak in SwingNode if Stage is not shown
30 JDK-8185634 javafx swing Java Fx-Swing dialogs appearing behind main stage
31 JDK-8187928 javafx web [WebView] Images copied from clipboard not written in source file format
32 JDK-8187726 javafx web [WebView] Copy and Paste of Image not resulting in expected behavior
33 JDK-8090011 javafx web 'tab' key makes control loose focus
34 JDK-8191035 javafx web WebView Canvas Graphics2D arc renders incorrectly
35 JDK-8088925 javafx web Non opaque background cause NumberFormatException
36 JDK-8187985 security-libs java.security Broken certificate number in debug output