RELEASE NOTES: JDK 21.0.6

Notes generated: Wed Oct 09 06:38:28 CEST 2024

JEPs

None.

RELEASE NOTES

None.

FIXED ISSUES

client-libs/java.awt

Priority Bug Summary
P3 JDK-8312518 [macos13] setFullScreenWindow() shows black screen on macOS 13 & above
P4 JDK-8296972 [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
P4 JDK-8335267 [XWayland] move screencast tokens from .awt to .java folder
P4 JDK-8336413 gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
P4 JDK-8340007 Refactor KeyEvent/FunctionKeyTest.java

client-libs/javax.swing

Priority Bug Summary
P4 JDK-8339731 java.desktop/share/classes/javax/swing/text/html/default.css typo in margin settings

core-libs

Priority Bug Summary
P4 JDK-8320665 update jdk_core at open/test/jdk/TEST.groups
P4 JDK-8320586 update manual test/jdk/TEST.groups

core-libs/java.net

Priority Bug Summary
P4 JDK-8335530 Java file extension missing in AuthenticatorTest

core-libs/java.nio

Priority Bug Summary
P3 JDK-8338748 [17u,21u] Test Disconnect.java compile error: cannot find symbol after JDK-8299813
P4 JDK-8337966 (fs) Files.readAttributes fails with Operation not permitted on older docker releases
P4 JDK-8325399 Add tests for virtual threads doing Selector operations
P4 JDK-8322166 Files.isReadable/isWritable/isExecutable expensive when file does not exist
P4 JDK-8334405 java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect

core-libs/java.time

Priority Bug Summary
P4 JDK-8339644 Improve parsing of Day/Month in tzdata rules

core-libs/java.util.concurrent

Priority Bug Summary
P3 JDK-8309218 java/util/concurrent/locks/Lock/OOMEInAQS.java still times out with ZGC, Generational ZGC, and SerialGC

core-libs/java.util.jar

Priority Bug Summary
P4 JDK-8322830 Add test case for ZipFile opening a ZIP with no entries
P4 JDK-8326100 DeflaterDictionaryTests should use Deflater.getBytesWritten instead of Deflater.getTotalOut
P4 JDK-8321616 Retire binary test vectors in test/jdk/java/util/zip/ZipFile

core-svc/debugger

Priority Bug Summary
P4 JDK-8328303 3 JDI tests timed out with UT enabled
P4 JDK-8326898 NSK tests should listen on loopback addresses only

hotspot/compiler

Priority Bug Summary
P2 JDK-8340230 Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity
P4 JDK-8319970 AArch64: enable tests compiler/intrinsics/Test(Long|Integer)UnsignedDivMod.java on aarch64
P4 JDK-8338924 C1: assert(0 <= i && i < _len) failed: illegal index 5 for length 5
P4 JDK-8330621 Make 5 compiler tests use ProcessTools.executeProcess
P4 JDK-8337780 RISC-V: C2: Change C calling convention for sp to NS
P4 JDK-8319960 RISC-V: compiler/intrinsics/TestInteger/LongUnsignedDivMod.java failed with "counts: Graph contains wrong number of nodes"
P4 JDK-8339248 RISC-V: Remove li64 macro assembler routine and related code
P4 JDK-8333098 ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero
P5 JDK-8317575 AArch64: C2_MacroAssembler::fast_lock uses rscratch1 for cmpxchg result
P5 JDK-8332724 x86 MacroAssembler may over-align code

hotspot/gc

Priority Bug Summary
P4 JDK-8339416 [s390x] Provide implementation for resolve_global_jobject
P4 JDK-8326121 vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless.

hotspot/jvmti

Priority Bug Summary
P3 JDK-8339725 Concurrent GC crashed due to GetMethodDeclaringClass
P3 JDK-8337331 crash: pinned virtual thread will lead to jvm crash when running with the javaagent option
P4 JDK-8311301 MethodExitTest may fail with stack buffer overrun
P4 JDK-8328665 serviceability/jvmti/vthread/PopFrameTest failed with a timeout

hotspot/runtime

Priority Bug Summary
P2 JDK-8329353 ResolvedReferencesNotNullTest.java failed with Incorrect resolved references array, quxString should not be archived
P3 JDK-6942632 Hotspot should be able to use more than 64 logical processors on Windows
P3 JDK-8339741 RISC-V: C ABI breakage for integer on stack
P3 JDK-8335449 runtime/cds/DeterministicDump.java fails with File content different at byte ...
P3 JDK-8340387 Update OS detection code to recognize Windows Server 2025
P3 JDK-8340383 VM issues warning failure to find kernel32.dll on Windows nanoserver
P4 JDK-8334567 [test] runtime/os/TestTracePageSizes move ppc handling
P4 JDK-8331393 AArch64: u32 _partial_subtype_ctr loaded/stored as 64
P4 JDK-8332340 Add JavacBench as a test case for CDS
P4 JDK-8326611 Clean up vmTestbase/nsk/stress/stack tests
P4 JDK-8324861 Exceptions::wrap_dynamic_exception() doesn't have ResourceMark
P4 JDK-8338110 Exclude Fingerprinter::do_type from ubsan checks
P4 JDK-8321940 Improve CDSHeapVerifier in handling of interned strings
P4 JDK-8338058 map_or_reserve_memory_aligned Windows enhance remap assertion
P4 JDK-8335664 Parsing jsr broken: assert(bci>= 0 && bci < c->method()->code_size()) failed: index out of bounds
P4 JDK-8338101 remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
P4 JDK-8316895 SeenThread::print_action_queue called on a null pointer
P4 JDK-8321474 TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21
P4 JDK-8329533 TestCDSVMCrash fails on libgraal
P4 JDK-8321550 Update several runtime/cds tests to use vm flags or mark as flagless

hotspot/svc

Priority Bug Summary
P5 JDK-8339384 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8340657 [PPC64] SA determines wrong unextendedSP

hotspot/test

Priority Bug Summary
P4 JDK-8332777 Update JCStress test suite
P4 JDK-8333108 Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization

infrastructure

Priority Bug Summary
P4 JDK-8339591 Mark jdk/jshell/ExceptionMessageTest.java intermittent

infrastructure/build

Priority Bug Summary
P4 JDK-8340815 Add SECURITY.md file
P4 JDK-8340804 doc/building.md update Xcode instructions to note that full install is required
P4 JDK-8340418 GHA: MacOS AArch64 bundles can be removed prematurely
P4 JDK-8339548 GHA: RISC-V: Use Debian snapshot archive for bootstrap
P4 JDK-8338402 GHA: some of bundles may not get removed

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8339080 Bump update version for OpenJDK: jdk-21.0.6

security-libs

Priority Bug Summary
P4 JDK-8318105 [jmh] the test java.security.HSS failed with 2 active threads

security-libs/java.security

Priority Bug Summary
P3 JDK-8328723 IP Address error when client enables HTTPS endpoint check on server socket
P3 JDK-8028127 Regtest java/security/Security/SynchronizedAccess.java is incorrect
P3 JDK-8320192 SHAKE256 does not work correctly if n >= 137
P3 JDK-8335344 test/jdk/sun/security/tools/keytool/NssTest.java fails to compile
P3 JDK-8331864 Update Public Suffix List to 1cbd6e7
P4 JDK-8335172 Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test
P4 JDK-8334562 Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
P4 JDK-8336854 CAInterop.java#actalisauthenticationrootca conflicted with /manual and /timeout
P4 JDK-8331391 Enhance the keytool code by invoking the buildTrustedCerts method for essential options
P4 JDK-8324841 PKCS11 tests still skip execution
P4 JDK-8296787 Unify debug printing format of X.509 cert serial numbers

security-libs/javax.crypto

Priority Bug Summary
P5 JDK-8336240 Test com/sun/crypto/provider/Cipher/DES/PerformanceTest.java fails with java.lang.ArithmeticException

security-libs/javax.net.ssl

Priority Bug Summary
P4 JDK-8339560 Unaddressed comments during code review of JDK-8337664
P4 JDK-8338380 Update TLSCommon/interop/AbstractServer to specify an interface to listen for connections