RELEASE NOTES: JDK 17.0.13

Notes generated: Fri Jun 21 05:57:21 CEST 2024

JEPs

None.

RELEASE NOTES

tools/jpackage

Issue Description
JDK-8295111

`jpackage` Apps May Fail to Build on Debian Linux Distros Due to Missing Shared Libraries


There is an issue on Debian Linux distros where jpackage could not always build an accurate list of required packages from shared libraries with symbolic links in their paths, causing installations to fail due to missing shared libraries.


`jpackage` May Produce an Inaccurate List of Required Packages on Debian Linux Distros


Fixed an issue on Debian Linux distros where jpackage could not always build an accurate list of required packages from shared libraries with symbolic links in their paths, causing installations to fail due to missing shared libraries.


security-libs/javax.net.ssl

Issue Description
JDK-8279164

Disabled TLS_ECDH Cipher Suites


The TLSECDH cipher suites have been disabled by default, by adding "ECDH" to the jdk.tls.disabledAlgorithms security property in the java.security configuration file. The TLSECDH cipher suites do not preserve forward-secrecy and are rarely used in practice. Note that some TLSECDH cipher suites were already disabled because they use algorithms that are disabled, such as 3DES and RC4. This action disables the rest. Any attempts to use cipher suites starting with "TLSECDH_" will fail with an SSLHandshakeException. Users can, at their own risk, re-enable these cipher suites by removing "ECDH" from the jdk.tls.disabledAlgorithms security property.

Please note that this change has no effect on the TLS_ECDHE cipher suites, which are still enabled by default.


tools/launcher

Issue Description
JDK-8310201

Available Locales Information Now Listed with `-XshowSettings:locale` Option


The showSettings launcher option no longer prints available locales information by default, when -XshowSettings is used. The -XshowSettings:locale option will continue to print all settings related to available locales.


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8294148 Support JSplitPane for instructions and test UI

client-libs/2d

Priority Bug Summary
P3 JDK-8311666 Disabled tests in test/jdk/sun/java2d/marlin
P4 JDK-8331746 Create a test to verify that the cmm id is not ignored
P4 JDK-8320079 The ArabicBox.java test has no control buttons

client-libs/java.awt

Priority Bug Summary
P3 JDK-8317288 [macos] java/awt/Window/Grab/GrabTest.java: Press on the outside area didn't cause ungrab
P3 JDK-8282526 Default icon is not painted properly
P3 JDK-8305825 getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
P3 JDK-8328999 Update GIFlib to 5.2.2
P3 JDK-8329004 Update Libpng to 1.6.43
P4 JDK-8328115 Convert java/awt/font/TextLayout/TestJustification.html applet test to main
P4 JDK-8328011 Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main
P4 JDK-8328218 Delete test java/awt/Window/FindOwner/FindOwner.html
P4 JDK-8328560 java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet
P4 JDK-8280392 java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
P4 JDK-8316240 Open source several add/remove MenuBar manual tests
P4 JDK-8328561 test java/awt/Robot/ManualInstructions/ManualInstructions.java isn't used
P5 JDK-8279337 The MToolkit is still referenced in a few places

client-libs/javax.swing

Priority Bug Summary
P2 JDK-8307091 A few client tests intermittently throw ConcurrentModificationException
P3 JDK-8323801 tag doesn't strikethrough the text
P3 JDK-8292948 JEditorPane ignores font-size styles in external linked css-file
P3 JDK-8328953 JEditorPane.read throws ChangedCharSetException
P3 JDK-8320692 Null icon returned for .exe without custom icon
P3 JDK-8325179 Race in BasicDirectoryModel.validateFileCache
P3 JDK-8326734 text-decoration applied to lost when mixed with or
P4 JDK-7124313 [macosx] Swing Popups should overlap taskbar
P4 JDK-8327137 Add test for ConcurrentModificationException in BasicDirectoryModel
P4 JDK-8238169 BasicDirectoryModel getDirectories and DoChangeContents.run can deadlock
P4 JDK-8327787 Convert javax/swing/border/Test4129681.java applet test to main
P4 JDK-8325620 HTMLReader uses ConvertAction instead of specified CharacterAction for , ,
P4 JDK-8315804 Open source several Swing JTabbedPane JTextArea JTextField tests
P4 JDK-8316104 Open source several Swing SplitPane and RadioButton related tests
P4 JDK-8307193 Several Swing jtreg tests use class.forName on L&F classes
P4 JDK-8305072 Win32ShellFolder2.compareTo is inconsistent

core-libs

Priority Bug Summary
P3 JDK-8333698 [17u] TestJstatdRmiPort fails after JDK-8333667

core-libs/java.lang

Priority Bug Summary
P4 JDK-8325621 Improve jspawnhelper version checks
P4 JDK-8325567 jspawnhelper without args fails with segfault

core-libs/java.net

Priority Bug Summary
P4 JDK-8308184 Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
P4 JDK-8331063 Some HttpClient tests don't report leaks
P4 JDK-8308144 Uncontrolled memory consumption in SSLFlowDelegate.Reader

core-libs/java.nio

Priority Bug Summary
P3 JDK-8313873 java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
P4 JDK-8327650 Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out

core-libs/java.util.concurrent

Priority Bug Summary
P4 JDK-8269428 java/util/concurrent/ConcurrentHashMap/ToArray.java timed out

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8330615 avoid signed integer overflows in zip_util.c readCen / hashN

core-svc/debugger

Priority Bug Summary
P3 JDK-8324668 JDWP process management needs more efficient file descriptor handling

hotspot/compiler

Priority Bug Summary
P2 JDK-8322726 C2: Unloaded signature class kills argument value
P3 JDK-8331885 C2: meet between unloaded and speculative types is not symmetric
P3 JDK-8329126 No native wrappers generated anymore with -XX:-TieredCompilation after JDK-8251462
P4 JDK-8320379 C2: Sort spilling/unspilling sequence for better ld/st merging into ldp/stp on AArch64
P4 JDK-8317831 compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
P4 JDK-8005885 enhance PrintCodeCache to print more data
P4 JDK-8279068 IGV: Update to work with JDK 16 and 17

hotspot/gc

Priority Bug Summary
P3 JDK-8316328 Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
P3 JDK-8332936 Test vmTestbase/metaspace/gc/watermark_70_80/TestDescription.java fails with no GC's recorded
P4 JDK-8322330 JavadocHelperTest.java OOMEs with Parallel GC and ZGC
P4 JDK-8319713 Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
P4 JDK-8329134 Reconsider TLAB zapping
P4 JDK-8328075 Shenandoah: Avoid forwarding when objects don't move in full-GC
P4 JDK-8333716 Shenandoah: Check for disarmed method before taking the nmethod lock

hotspot/jfr

Priority Bug Summary
P3 JDK-8265919 RunThese30M fails "assert((!(((((JfrTraceIdBits::load(value)) & ((1 << 4) << 8)) != 0))))) failed: invariant"
P3 JDK-8256291 RunThese30M fails "assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant"
P3 JDK-8326446 The User and System of jdk.CPULoad on Apple M1 are inaccurate
P3 JDK-8326106 Write and clear stack trace table outside of safepoint
P4 JDK-8313394 Array Elements in OldObjectSample event has the incorrect description
P4 JDK-8329995 Restricted access to `/proc` can cause JFR initialization to crash

hotspot/runtime

Priority Bug Summary
P2 JDK-8316468 os::write incorrectly handles partial write
P3 JDK-8315559 Delay TempSymbol cleanup to avoid symbol table churn
P3 JDK-8318986 Improve GenericWaitBarrier performance
P3 JDK-8293872 Make runtime/Thread/ThreadCountLimit.java more robust
P4 JDK-8324577 [REDO] - [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
P4 JDK-8324933 ConcurrentHashTable::statistics_calculate synchronization is expensive
P4 JDK-8322008 Exclude some CDS tests from running with -Xshare:off
P4 JDK-8318474 Fix memory reporter for thread_count
P4 JDK-8330524 Linux ppc64le compile warning with clang in os_linux_ppc.cpp
P4 JDK-8289182 NMT: MemTracker::baseline should return void
P4 JDK-8315362 NMT: summary diff reports threads count incorrectly
P4 JDK-8303942 os::write should write completely
P4 JDK-8183227 read/write APIs in class os shall return ssize_t
P4 JDK-8310108 Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified

hotspot/svc

Priority Bug Summary
P4 JDK-8315437 Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
P4 JDK-8315442 Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests

hotspot/test

Priority Bug Summary
P3 JDK-8306946 jdk/test/lib/process/ProcessToolsStartProcessTest.java fails with "wrong number of lines in OutputAnalyzer output"
P4 JDK-8332898 failure_handler: log directory of commands
P4 JDK-8233725 ProcessTools.startProcess() has output issues when using an OutputAnalyzer at the same time
P5 JDK-8328234 Remove unused nativeUtils files

infrastructure/build

Priority Bug Summary
P4 JDK-8331164 createJMHBundle.sh download jars fail when url needed to be redirected
P5 JDK-8333477 Delete extra empty spaces in Makefiles

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8331265 Bump update version for OpenJDK: jdk-17.0.13

security-libs/java.security

Priority Bug Summary
P4 JDK-8318479 [jmh] the test security.CacheBench failed for multiple threads run
P4 JDK-8324646 Avoid Class.forName in SecureRandom constructor
P4 JDK-8324648 Avoid NoSuchMethodError when instantiating NativePRNG
P4 JDK-8288568 Reduce runtime of java.security microbenchmarks
P5 JDK-8280970 Cleanup dead code in java.security.Provider

security-libs/javax.crypto:pkcs11

Priority Bug Summary
P3 JDK-8261433 Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit

security-libs/javax.net.ssl

Priority Bug Summary
P3 JDK-8279164 Disable TLS_ECDH_* cipher suites
P4 JDK-8301686 TLS 1.3 handshake fails if server_name doesn't match resuming session

tools/javac

Priority Bug Summary
P3 JDK-8312229 Crash involving yield, switch and anonymous classes

tools/javadoc(tool)

Priority Bug Summary
P3 JDK-8281944 JavaDoc throws java.lang.IllegalStateException: ERRONEOUS

tools/jpackage

Priority Bug Summary
P2 JDK-8295111 dpkg appears to have problems resolving symbolically linked native libraries

tools/launcher

Priority Bug Summary
P3 JDK-8310201 Reduce verbose locale output in -XshowSettings launcher option