RELEASE NOTES: JDK 21.0.9

Notes generated: Mon Jun 23 07:14:59 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/java.awt

Priority Bug Summary
P4 JDK-8342782 AWTEventMulticaster throws StackOverflowError using AquaButtonUI
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

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-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

core-libs/java.nio.charsets

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

core-svc/java.lang.management

Priority Bug Summary
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-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-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-8309627 Incorrect sorting of DirtyCardQueue buffers
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
P3 JDK-8357793 [PPC64] VM crashes with -XX:-UseSIGTRAP -XX:-ImplicitNullChecks
P3 JDK-8333326 Linux Alpine build fails after 8302744
P3 JDK-8313083 Print 'rss' and 'cache' as part of the container information
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-8302744 Refactor Hotspot container detection code
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
P4 JDK-8349214 Improve size optimization flags for MSVC builds
P4 JDK-8314166 Update googletest to v1.14.0

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/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/jpackage

Priority Bug Summary
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