RELEASE NOTES: JDK 8u172

Notes generated: Mon Nov 08 19:42:58 CET 2021

JEPs

None.

RELEASE NOTES

hotspot/runtime

Issue Description
JDK-8198794

Better Stability with Older NUMA Libraries (-XX:+UseNuma)


A fix included in JDK 8 Update 152 introduced a regression that might cause the HotSpot JVM to crash during startup when the UseNUMA flag is used on Linux systems with versions of libnuma older than 2.0.9. This issue has been resolved.


client-libs/java.awt

Issue Description
JDK-8166772

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


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8130400 Test java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java fails with ClassCastException

client-libs/demo

Priority Bug Summary
P3 JDK-8080444 Update SwingSet2 to use installed L&Fs instead of hard-coded list.

client-libs/java.awt

Priority Bug Summary
P2 JDK-8202478 Backout JDK-8152974
P3 JDK-8152974 AWT hang occurrs when sequenced events arrive out of sequence
P3 JDK-8147542 Linux: ClassCastException when repainting after display resolution change
P3 JDK-8166772 Touch keyboard is not shown for text components on a screen touch

core-libs

Priority Bug Summary
P4 JDK-8188855 Fix VS10 build after "8187658: Bigger buffer for GetAdaptersAddresses"

core-libs/java.lang

Priority Bug Summary
P2 JDK-8154017 Shutdown hooks are racing against shutdown sequence, if System.exit()-calling thread is interrupted

core-libs/java.net

Priority Bug Summary
P4 JDK-8187658 Bigger buffer for GetAdaptersAddresses
P4 JDK-8189646 sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java failed with "java.net.SocketTimeoutException: Read timed out"

core-libs/java.text

Priority Bug Summary
P3 JDK-8165466 DecimalFormat percentage format can contain unexpected %

core-libs/java.time

Priority Bug Summary
P4 JDK-8200359 (tz) Upgrade time-zone data to tzdata2018d

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8136356 Add time zone mappings on Windows

core-libs/javax.script

Priority Bug Summary
P4 JDK-8169424 src/share/sample/scripting/scriptpad/src/scripts/memory.sh missing #!

core-svc

Priority Bug Summary
P4 JDK-8079510 AIX: fix build after '8042901: Allow com.sun.management to be in a different module...'

core-svc/javax.management

Priority Bug Summary
P3 JDK-8177721 Improve diagnostics in sun.management.Agent#startAgent()

deploy/packager

Priority Bug Summary
P3 JDK-8193232 fxpackager unit tests fail on macOS 10.12

deploy/plugin

Priority Bug Summary
P3 JDK-8185498 Console log shows that cert is expired (but TSA valid) although no certs in chain is expired.

deploy/webstart

Priority Bug Summary
P2 JDK-8199304 javaws.exe failed to launch UTF-8 encoded JNLP file
P2 JDK-8194690 JRE bundled in App-V package will not start Java Web Start applications

hotspot/compiler

Priority Bug Summary
P2 JDK-8187822 C2 conditonal move optimization might create broken graph
P2 JDK-8164480 Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same

hotspot/gc

Priority Bug Summary
P2 JDK-8170395 Metaspace initialization queries the wrong chunk freelist
P3 JDK-8170358 [REDO] 8k class metaspace chunks misallocated from 4k chunk freelist

hotspot/runtime

Priority Bug Summary
P2 JDK-8198794 Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3
P4 JDK-8184991 NMT detail diff should take memory type into account
P4 JDK-8139673 NMT stack traces in output should show mt component
P4 JDK-8187629 NMT: Memory miscounting in compiler (C2)
P4 JDK-8187685 NMT: Tracking compiler memory usage of thread's resource area
P4 JDK-8187331 VirtualSpaceList tracks free space on wrong node

hotspot/svc

Priority Bug Summary
P2 JDK-8044107 Add Diagnostic Command to list all ClassLoaders
P3 JDK-8031304 Add dcmd to print all loaded dynamic libraries.
P3 JDK-8059036 Implement Diagnostic Commands for heap and finalizerinfo
P4 JDK-8055755 Information about loaded dynamic libraries is wrong on MacOSX.

javafx/build

Priority Bug Summary
P3 JDK-8191621 Windows build fails if VS150COMNTOOLS is set
P4 JDK-8187366 Remove hardcoded MSVC Version in win.gradle

javafx/controls

Priority Bug Summary
P2 JDK-8183100 Styles not applied reliably after Java 8u92
P3 JDK-8189265 Closing stage does not free internal resources

javafx/samples

Priority Bug Summary
P3 JDK-8178275 Ensemble: Upgrade version of Lucene to 7.1.0

javafx/web

Priority Bug Summary
P3 JDK-8187726 [WebView] Copy and Paste of Image not resulting in expected behavior
P3 JDK-8187928 [WebView] Images copied from clipboard not written in source file format
P3 JDK-8191035 WebView Canvas Graphics2D arc renders incorrectly
P4 JDK-8090011 'tab' key makes control loose focus
P4 JDK-8178290 Intermittent test failure in test.com.sun.webkit.network.CookieTest

security-libs/java.security

Priority Bug Summary
P3 JDK-8193156 Need to backout fixes for JDK-8058547, JDK-8055753, JDK-8085903
P4 JDK-8187985 Broken certificate number in debug output

security-libs/org.ietf.jgss

Priority Bug Summary
P3 JDK-8197518 Kerberos krb5 authentication: AuthList's put method leads to performance issue

tools/javac

Priority Bug Summary
P4 JDK-8144185 javac produces incorrect RuntimeInvisibleTypeAnnotations length attribute

xml/jax-ws

Priority Bug Summary
P2 JDK-8196491 Newlines in JAXB string values of SOAP-requests are escaped to " "