RELEASE NOTES: JDK 17.0.21

Notes generated: Wed Jul 01 06:27:17 CEST 2026

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8333867

SHA3 Performance Improved


The performance of the MessageDigest implementations that belong to the SHA3 family (SHA3-224, SHA3-256, SHA3-384, and SHA3-512) has been improved by 6-27%, depending on digested message length and on the platform used. An additional 30-40% can be experienced on AVX-512 capable platforms due to new intrinsic implementations on that platform.


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P4 JDK-8284965 closed test sun/java2d/OpenGL/XORPaint.java is unstable

client-libs/java.awt

Priority Bug Summary
P3 JDK-8164464 Consistent failure of java/awt/dnd/MissingEventsOnModalDialog/MissingEventsOnModalDialogTest.java
P3 JDK-8023814 Test java/awt/im/memoryleak/InputContextMemoryLeakTest.java fails
P4 JDK-6626492 Event time in future part 2, now on X
P4 JDK-8129778 Few awt test fail for Solaris 11 with RuntimeException
P4 JDK-8168388 GetMousePositionTest fails with the message "Mouse position should not be null"
P4 JDK-8352149 Test java/awt/Frame/MultiScreenTest.java fails: Window list is empty
P4 JDK-8213530 Test java/awt/Modal/ToFront/DialogToFrontModeless1Test.java fails on Linux
P4 JDK-8372546 UnixMultiResolutionSplashTest.java fails intermittently on Ubuntu_24.04

client-libs/javax.sound

Priority Bug Summary
P4 JDK-8373632 Some sound tests failing in CI due to lack of sound key

client-libs/javax.swing

Priority Bug Summary
P4 JDK-8376151 Test javax/swing/JFileChooser/4966171/bug4966171.java is failing with OOME

core-libs

Priority Bug Summary
P3 JDK-8378180 Compiling OpenJDK with C23 C-Compiler gives warning: initialization discards ‘const’ qualifier from pointer target type

core-libs/java.io

Priority Bug Summary
P4 JDK-8343342 java/io/File/GetXSpace.java fails on Windows with CD-ROM drive

core-libs/java.lang

Priority Bug Summary
P3 JDK-8356695 java/lang/StringBuilder/HugeCapacity.java failing with OOME
P4 JDK-8279954 java/lang/StringBuffer(StringBuilder)/HugeCapacity.java intermittently fails

core-libs/java.lang.invoke

Priority Bug Summary
P4 JDK-8373832 Test java/lang/invoke/TestVHInvokerCaching.java tests nothing

core-libs/java.net

Priority Bug Summary
P3 JDK-8304701 Request with timeout aborts later in-flight request on HTTP/1.1 cxn
P4 JDK-8373796 Refactor java/net/httpclient/ThrowingPublishers*.java tests to use JUnit5
P4 JDK-8373866 Refactor java/net/httpclient/ThrowingSubscribers*.java tests to use JUnit5

core-libs/java.nio

Priority Bug Summary
P4 JDK-8378878 Refactor java/nio/channels/AsynchronousSocketChannel test to use JUnit

core-libs/java.rmi

Priority Bug Summary
P4 JDK-8365398 TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently

core-libs/java.util.concurrent

Priority Bug Summary
P4 JDK-8296405 java/util/concurrent/forkjoin/AsyncShutdownNow.java is too slow

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8345684 OperatingSystemMXBean.getSystemCpuLoad() throws NPE

core-svc/tools

Priority Bug Summary
P4 JDK-8278102 containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process"

hotspot/compiler

Priority Bug Summary
P3 JDK-8295698 AArch64: test/jdk/sun/security/ec/ed/EdDSATest.java failed with -XX:+UseSHA3Intrinsics
P4 JDK-8310331 JitTester: Exclude java.lang.Math.random

hotspot/gc

Priority Bug Summary
P4 JDK-8377347 jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java intermittent OOME
P4 JDK-8286737 Test vmTestbase/gc/gctests/WeakReference/weak006/weak006.java fails: Last soft reference has not been cleared

hotspot/runtime

Priority Bug Summary
P4 JDK-8375125 assert(false) failed: "Attempting to acquire lock NativeHeapTrimmer_lock/nosafepoint out of order with lock ConcurrentHashTableResize_lock/nosafepoint-2 -- possible deadlock" when using native heap trimmer

infrastructure

Priority Bug Summary
P4 JDK-8385509 Bump update version for OpenJDK: jdk-17.0.21

security-libs

Priority Bug Summary
P3 JDK-8279800 isAssignableFrom checks in AlgorithmParametersSpi.engineGetParameterSpec appear to be backwards

security-libs/java.security

Priority Bug Summary
P3 JDK-8374886 CAInterop.java#microsoftrsa2017 test fails as EE certificate does not specify OCSP responder
P3 JDK-8308474 DSA does not reset SecureRandom when initSign is called again
P3 JDK-8300399 EdDSA does not verify when there is no message
P3 JDK-8338587 Internal XOF Methods for SHAKE128 and SHAKE256
P3 JDK-8320192 SHAKE256 does not work correctly if n >= 137
P4 JDK-8385584 CAInterop.java#buypassclass3ca fails with Intermediate Root CA not found in the chain
P4 JDK-8267617 Certificate's IP x509 NameConstraints raises ArrayIndexOutOfBoundsException
P4 JDK-8325506 Ensure randomness is only read from provided SecureRandom object
P4 JDK-8333867 SHA3 performance can be improved
P4 JDK-8275914 SHA3: changing java implementation to help C2 create high-performance code

security-libs/javax.net.ssl

Priority Bug Summary
P4 JDK-8366182 Some PKCS11Tests are being skipped when they shouldn't

security-libs/jdk.security

Priority Bug Summary
P4 JDK-8367096 jdk/open/test/jdk/sun/security/pkcs11/ rsa, ec, config, secmod and sslecc tests are skipping but showing as pass
P4 JDK-8361894 sun/security/krb5/config/native/TestDynamicStore.java ensure that the test is run with sudo
P4 JDK-8360562 sun/security/tools/keytool/i18n.java add an ability to add comment for failures
P4 JDK-8365861 test/jdk/sun/security/pkcs11/Provider/ tests skipped without SkippedException
P4 JDK-8373793 TestDynamicStore.java '/manual' disables use of '/timeout'
P5 JDK-8360395 sun/security/tools/keytool/i18n.java user country is current user location instead of the language

tools/jshell

Priority Bug Summary
P4 JDK-8386776 [17u] Test test/langtools/jdk/jshell/UndefinedClassTest.java fails on JDK 17 with java.lang.ThreadDeath
P4 JDK-8305714 Add an extra test for JDK-8292755

xml/jaxp

Priority Bug Summary
P4 JDK-8349959 Test CR6740048.java passes unexpectedly missing CR6740048.xsd