RELEASE NOTES: JDK 21.0.9

Notes generated: Wed Jul 02 07:20:25 CEST 2025

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8313367

SunMSCAPI Provider Opens the Windows Local Computer Key Store in Read-Only Mode in Non-Elevated Processes


The Local Computer key store is accessed using the CERT_STORE_MAXIMUM_ALLOWED_FLAG. Since this store is typically managed by administrators for security reasons, processes are only given read-only access to specific private keys. By opening the store in read-only mode, non-elevated processes can now securely use these keys without requiring elevated permissions.


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8345566 Deproblemlist test/jdk/javax/swing/JComboBox/6559152/bug6559152.java

client-libs/java.awt

Priority Bug Summary
P3 JDK-8203867 Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html
P4 JDK-8342782 AWTEventMulticaster throws StackOverflowError using AquaButtonUI
P4 JDK-8349378 Build splashscreen lib with SIZE optimization
P4 JDK-8353655 Clean up and open source KeyEvent related tests (Part 1)
P4 JDK-8339962 Open source AWT TextField tests - Set1
P4 JDK-8351277 Remove pipewire from AIX build
P4 JDK-8343618 Stack smashing in awt_InputMethod.c on Linux s390x
P4 JDK-8339561 The test/jdk/java/awt/Paint/ListRepaint.java may fail after JDK-8327401

client-libs/java.beans

Priority Bug Summary
P3 JDK-8347826 Introspector shows wrong method list after 8071693

client-libs/javax.swing

Priority Bug Summary
P4 JDK-8328089 Automate javax/swing/JTable/4222153/bug4222153.java applet test
P4 JDK-8328087 Automate javax/swing/JTable/TAB/TAB.java applet test
P4 JDK-8327969 Convert javax/swing/border/Test6910490.java applet test to main
P4 JDK-8327750 Convert javax/swing/JFileChooser/FileFilterDescription/FileFilterDescription.java applet test to main
P4 JDK-8327751 Convert javax/swing/JInternalFrame/6726866/bug6726866.java applet test to main
P4 JDK-8327752 Convert javax/swing/JOptionPane/4174551/bug4174551.java applet to main
P4 JDK-8327754 Convert javax/swing/JPopupMenu/7160604/bug7160604.java applet to main
P4 JDK-8327755 Convert javax/swing/JScrollBar/8039464/Test8039464.java applet to main
P4 JDK-8327872 Convert javax/swing/JToolTip/4644444/bug4644444.java applet test to main
P4 JDK-8327874 Convert javax/swing/JTree/4314199/bug4314199.java applet test to main
P4 JDK-8345767 javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java fails in ubuntu22.04

core-libs

Priority Bug Summary
P4 JDK-8335252 Reduce size of j.u.Formatter.Conversion#isValid

core-libs/java.lang

Priority Bug Summary
P4 JDK-8334394 Race condition in Class::protectionDomain

core-libs/java.net

Priority Bug Summary
P4 JDK-8351601 [JMH] test UnixSocketChannelReadWrite failed for 2 threads config
P4 JDK-8314978 Multiple server call from connection failing with expect100 in getOutputStream
P4 JDK-8343074 test/jdk/com/sun/net/httpserver/docs/test1/largefile.txt could be generated
P4 JDK-8352895 UserCookie.java runs wrong test class

core-libs/java.nio.charsets

Priority Bug Summary
P4 JDK-8167252 Some of Charset.availableCharsets() does not contain itself

core-libs/java.util

Priority Bug Summary
P5 JDK-8351593 [JMH] test PhoneCode.Bulk reports NPE exception

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8346871 Improve robustness of java/util/zip/EntryCount64k.java test

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8340276 Test java/lang/management/ThreadMXBean/Locks.java failed with NullPointerException
P4 JDK-8332551 Test vmTestbase/nsk/monitoring/MemoryNotificationInfo/from/from001/TestDescription.java timed out

core-svc/javax.management

Priority Bug Summary
P4 JDK-8313355 javax/management/remote/mandatory/notif/ListenerScaleTest.java failed with "Exception: Failed: ratio=792.2791601423487"

hotspot/compiler

Priority Bug Summary
P3 JDK-8358534 Bailout in Conv2B::Ideal when type of cmp input is not supported
P3 JDK-8354941 Build failure with glibc 2.42 due to uabs() name collision
P3 JDK-8342330 C2: "node pinned on loop exit test?" assert failure
P4 JDK-8336635 Add IR test for Reference.refersTo intrinsic
P4 JDK-8345471 Clean up compiler/intrinsics/sha/cli tests
P4 JDK-8356778 Compiler add event logging in case of failures
P4 JDK-8343452 Incorrect WINDOWS build variable is used in macroAssembler_x86.cpp

hotspot/gc

Priority Bug Summary
P2 JDK-8340389 vmTestbase/gc/gctests/PhantomReference/phantom001/TestDescription.java Test exit code: 97 with -Xcomp UseAVX=3
P4 JDK-8357155 [asan] ZGC does not work (x86_64 and ppc64)
P4 JDK-8309627 Incorrect sorting of DirtyCardQueue buffers
P4 JDK-8308633 Increase precision of timestamps in g1 log
P4 JDK-8309899 Rename PtrQueueSet::buffer_size()
P4 JDK-8334010 VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes
P4 JDK-8358310 ZGC: riscv, ppc ZPlatformAddressOffsetBits may return a too large value

hotspot/jfr

Priority Bug Summary
P3 JDK-8345337 JFR: jfr view should display all direct subfields for an event type

hotspot/runtime

Priority Bug Summary
P2 JDK-8351997 AArch64: Interpreter volatile reference stores with G1 are not sequentially consistent
P3 JDK-8357793 [PPC64] VM crashes with -XX:-UseSIGTRAP -XX:-ImplicitNullChecks
P3 JDK-8344671 Few JFR streaming tests fail with application not alive error on MacOS 15
P3 JDK-8333326 Linux Alpine build fails after 8302744
P3 JDK-8313083 Print 'rss' and 'cache' as part of the container information
P3 JDK-8331560 Refactor Hotspot container detection code so that subsystem delegates to controllers
P4 JDK-8261242 [Linux] OSContainer::is_containerized() returns true when run outside a container
P4 JDK-8351491 Add info from release file to hserr file
P4 JDK-8355979 ATTRIBUTE_NO_UBSAN needs to be extended to handle float divisions by zero on AIX
P4 JDK-8339460 CDS error when module is located in a directory with space in the name
P4 JDK-8310974 NMT: Arena diffs miss the scale
P4 JDK-8335882 platform/cgroup/TestSystemSettings.java fails on Alpine Linux
P4 JDK-8302744 Refactor Hotspot container detection code
P4 JDK-8357968 RISC-V: Interpreter volatile reference stores with G1 are not sequentially consistent
P4 JDK-8352946 SEGV_BND signal code of SIGSEGV missing from our signal-code table
P4 JDK-8353568 SEGV_BNDERR signal code adjust definition
P4 JDK-8327125 SpinYield.report should report microseconds

hotspot/test

Priority Bug Summary
P4 JDK-8347840 Fix testlibrary compilation warnings
P4 JDK-8359272 Several vmTestbase/compact tests timed out on large memory machine

infrastructure

Priority Bug Summary
P4 JDK-8356269 Fix broken web-links after JDK-8295470

infrastructure/build

Priority Bug Summary
P3 JDK-8360042 GHA: Bump MSVC to 14.44
P4 JDK-8341861 GHA: Use only retention mechanism to remove bundles
P4 JDK-8349214 Improve size optimization flags for MSVC builds
P4 JDK-8358538 Update GHA Windows runner to 2025
P4 JDK-8314166 Update googletest to v1.14.0
P4 JDK-8340185 Use make -k on GHA to catch more build errors

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8358659 Bump update version for OpenJDK: jdk-21.0.9

security-libs/java.security

Priority Bug Summary
P3 JDK-8313367 SunMSCAPI cannot read Local Computer certs w/o Windows elevation

security-libs/javax.net.ssl

Priority Bug Summary
P4 JDK-8249825 Tests sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java marked with @ignore

security-libs/jdk.security

Priority Bug Summary
P4 JDK-8346285 Update jarsigner compatibility test for change in default digest algorithm

tools/jar

Priority Bug Summary
P4 JDK-8302293 jar --create fails with IllegalArgumentException if archive name is shorter than 3 characters

tools/javac

Priority Bug Summary
P4 JDK-8352896 LambdaExpr02.java runs wrong test class

tools/javadoc(tool)

Priority Bug Summary
P4 JDK-8358136 Make langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java intermittent

tools/jpackage

Priority Bug Summary
P4 JDK-8359906 [21u] [BACKOUT] 8347299: Add annotations to test cases in LicenseTest
P4 JDK-8347299 Add annotations to test cases in LicenseTest
P4 JDK-8320858 Move jpackage tests to tier3

tools/jshell

Priority Bug Summary
P4 JDK-8357194 [21u] lible cannot find the path of libjava

xml/jaxp

Priority Bug Summary
P4 JDK-8259540 MissingResourceException for key cvc-complex-type.2.4.d.1