RELEASE NOTES FOR: 21.0.9 ==================================================================================================== Notes generated: Thu Jul 03 07:20:31 CEST 2025 Hint: Prefix bug IDs with https://bugs.openjdk.org/browse/ to reach the relevant JIRA entry. JAVA ENHANCEMENT PROPOSALS (JEP): None. RELEASE NOTES: core-libs/java.util.jar: JDK-7036144: `GZIPInputStream` Will No Longer Use `InputStream.available()` to Check for the Presence of Concatenated GZIP Stream The `GZipInputStream` `read` methods have been modified to remove the usage of `InputStream::available()` when determining if the stream contains a concatenated GZIP stream. These methods will now read any additional data in the underlying `InputStream` and check for the presence of a GZIP stream header. security-libs/java.security: 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. ALL FIXED ISSUES, BY COMPONENT AND PRIORITY: client-libs: (P4) JDK-8345566: Deproblemlist test/jdk/javax/swing/JComboBox/6559152/bug6559152.java client-libs/java.awt: (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: (P3) JDK-8347826: Introspector shows wrong method list after 8071693 client-libs/javax.swing: (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: (P4) JDK-8335252: Reduce size of j.u.Formatter.Conversion#isValid core-libs/java.lang: (P4) JDK-8334394: Race condition in Class::protectionDomain core-libs/java.net: (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: (P4) JDK-8167252: Some of Charset.availableCharsets() does not contain itself core-libs/java.util: (P5) JDK-8351593: [JMH] test PhoneCode.Bulk reports NPE exception core-libs/java.util.jar: (P4) JDK-7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream (P4) JDK-8346871: Improve robustness of java/util/zip/EntryCount64k.java test core-svc/java.lang.management: (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: (P4) JDK-8313355: javax/management/remote/mandatory/notif/ListenerScaleTest.java failed with "Exception: Failed: ratio=792.2791601423487" hotspot/compiler: (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: (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-8320859: gtest high malloc footprint caused by BufferNodeAllocator stress test (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: (P3) JDK-8345337: JFR: jfr view should display all direct subfields for an event type hotspot/runtime: (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-8338236: Compile error in cgroup code on Linux when using clang (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: (P4) JDK-8347840: Fix testlibrary compilation warnings (P4) JDK-8359272: Several vmTestbase/compact tests timed out on large memory machine infrastructure: (P4) JDK-8356269: Fix broken web-links after JDK-8295470 infrastructure/build: (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: (P4) JDK-8358659: Bump update version for OpenJDK: jdk-21.0.9 security-libs/java.security: (P3) JDK-8313367: SunMSCAPI cannot read Local Computer certs w/o Windows elevation security-libs/javax.net.ssl: (P4) JDK-8249825: Tests sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java marked with @ignore security-libs/jdk.security: (P4) JDK-8346285: Update jarsigner compatibility test for change in default digest algorithm tools/jar: (P4) JDK-8302293: jar --create fails with IllegalArgumentException if archive name is shorter than 3 characters tools/javac: (P4) JDK-8352896: LambdaExpr02.java runs wrong test class tools/javadoc(tool): (P4) JDK-8358136: Make langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java intermittent tools/jpackage: (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: (P4) JDK-8357194: [21u] lible cannot find the path of libjava xml/jaxp: (P4) JDK-8259540: MissingResourceException for key cvc-complex-type.2.4.d.1