RELEASE NOTES: JDK 21.0.2

Notes generated: Sun Sep 24 07:55:55 CEST 2023

JEPs

None.

RELEASE NOTES

None.

FIXED ISSUES

client-libs/javax.swing

Priority Bug Summary
P4 JDK-8311585 Add JRadioButtonMenuItem to bug8031573.java

core-libs/java.lang

Priority Bug Summary
P2 JDK-8310982 jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()
P3 JDK-8309545 Thread.interrupted from virtual thread needlessly resets interrupt status
P4 JDK-8308452 Extend internal Architecture enum with byte order and address size
P4 JDK-8314094 java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
P4 JDK-8314759 VirtualThread.parkNanos timeout adjustment when pinned should be replaced

core-libs/java.lang.foreign

Priority Bug Summary
P3 JDK-8311630 [s390] Implementation of Foreign Function & Memory API (Preview)

core-libs/java.net

Priority Bug Summary
P3 JDK-8316031 SSLFlowDelegate should not log from synchronized block
P4 JDK-8308593 Add KEEPALIVE Extended Socket Options Support for Windows
P4 JDK-8316399 Exclude java/net/MulticastSocket/Promiscuous.java on AIX
P4 JDK-8316387 Exclude more failing multicast tests on AIX after JDK-8315651
P4 JDK-8316113 Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
P4 JDK-8315651 Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)

core-libs/java.nio

Priority Bug Summary
P3 JDK-8312166 (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
P3 JDK-8313873 java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation

core-libs/java.util

Priority Bug Summary
P4 JDK-8315751 RandomTestBsi1999 fails often with timeouts on Linux ppc64le

core-libs/java.util.logging

Priority Bug Summary
P2 JDK-8314263 Signed jars triggering Logger finder recursion and StackOverflowError
P3 JDK-8315696 SignedLoggerFinderTest.java test failed
P4 JDK-8316087 Test SignedLoggerFinderTest.java is still failing

core-svc/tools

Priority Bug Summary
P4 JDK-8315702 jcmd Thread.dump_to_file slow with millions of virtual threads

hotspot/compiler

Priority Bug Summary
P2 JDK-8313756 [BACKOUT] 8308682: Enhance AES performance
P2 JDK-8313760 [REDO] Enhance AES performance
P4 JDK-8316178 Better diagnostic header for CodeBlobs
P4 JDK-8311813 C1: Uninitialized PhiResolver::_loop field
P4 JDK-8313322 RISC-V: implement MD5 intrinsic
P4 JDK-8315612 RISC-V: intrinsic for unsignedMultiplyHigh
P4 JDK-8315931 RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
P4 JDK-8314935 Shenandoah: Unable to throw OOME on back-to-back Full GCs
P5 JDK-8315549 CITime misreports code/total nmethod sizes

hotspot/gc

Priority Bug Summary
P3 JDK-8299614 Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
P4 JDK-8311514 Incorrect regex in TestMetaSpaceLog.java

hotspot/jfr

Priority Bug Summary
P4 JDK-8316400 Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX

hotspot/runtime

Priority Bug Summary
P2 JDK-8315206 RISC-V: hwprobe query is_set return wrong value

infrastructure/build

Priority Bug Summary
P3 JDK-8313167 Update to use jtreg 7.3
P3 JDK-8314495 Update to use jtreg 7.3.1
P4 JDK-8312466 /bin/nm usage in AIX makes needs -X64 flag
P4 JDK-8315863 [GHA] Update checkout action to use v4
P4 JDK-8311938 Add default cups include location for configure on AIX
P4 JDK-8313244 NM flags handling in configure process
P4 JDK-8315688 Update jdk21u fix version to 21.0.2

security-libs/java.security

Priority Bug Summary
P3 JDK-8308592 Framework for CA interoperability testing
P3 JDK-8313206 PKCS11 tests silently skip execution
P4 JDK-8309305 sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout

security-libs/javax.crypto

Priority Bug Summary
P3 JDK-8314045 ArithmeticException in GaloisCounterMode

tools

Priority Bug Summary
P4 JDK-8315214 Do not run sun/tools/jhsdb tests concurrently

tools/jar

Priority Bug Summary
P4 JDK-8315644 increase timeout of sun/security/tools/jarsigner/Warning.java

tools/javac

Priority Bug Summary
P3 JDK-8315452 Erroneous AST missing modifiers for partial input
P4 JDK-8314632 Intra-case dominance check fails in the presence of a guard
P4 JDK-8314226 Series of colon-style fallthrough switch cases with guards compiled incorrectly
P4 JDK-8315735 VerifyError when switch statement used with synchronized block

tools/jlink

Priority Bug Summary
P3 JDK-8311591 Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder
P3 JDK-8315383 jlink SystemModulesPlugin incorrectly parses the options
P4 JDK-8315578 PPC builds are broken after JDK-8304913
P4 JDK-8315579 SPARC64 builds are broken after JDK-8304913

tools/jpackage

Priority Bug Summary
P4 JDK-8314121 test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
P4 JDK-8311631 When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files

tools/jshell

Priority Bug Summary
P3 JDK-8313792 Verify 4th party information in src/jdk.internal.le/share/legal/jline.md