RELEASE NOTES FOR: 21.0.6 ==================================================================================================== Notes generated: Tue Oct 22 06:44:10 CEST 2024 Hint: Prefix bug IDs with https://bugs.openjdk.org/browse/ to reach the relevant JIRA entry. JAVA ENHANCEMENT PROPOSALS (JEP): None. RELEASE NOTES: None. ALL FIXED ISSUES, BY COMPONENT AND PRIORITY: client-libs/java.awt: (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-8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program (P4) JDK-8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf (P4) JDK-8340008: KeyEvent/KeyTyped/Numpad1KeyTyped.java has 15 seconds timeout (P4) JDK-8340007: Refactor KeyEvent/FunctionKeyTest.java (P4) JDK-8325762: Use PassFailJFrame.Builder.splitUI() in PrintLatinCJKTest.java client-libs/javax.imageio: (P3) JDK-8332866: Crash in ImageIO JPEG decoding when MEM_STATS in enabled client-libs/javax.swing: (P4) JDK-8339731: java.desktop/share/classes/javax/swing/text/html/default.css typo in margin settings core-libs: (P4) JDK-8320665: update jdk_core at open/test/jdk/TEST.groups (P4) JDK-8320586: update manual test/jdk/TEST.groups core-libs/java.lang: (P4) JDK-8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message core-libs/java.net: (P4) JDK-8335530: Java file extension missing in AuthenticatorTest core-libs/java.nio: (P2) JDK-8341997: Tests create files in src tree instead of scratch dir (P3) JDK-8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed (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: (P4) JDK-8339644: Improve parsing of Day/Month in tzdata rules core-libs/java.util.concurrent: (P3) JDK-8309218: java/util/concurrent/locks/Lock/OOMEInAQS.java still times out with ZGC, Generational ZGC, and SerialGC core-libs/java.util.jar: (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: (P4) JDK-8328303: 3 JDI tests timed out with UT enabled (P4) JDK-8326898: NSK tests should listen on loopback addresses only hotspot/compiler: (P2) JDK-8340230: Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity (P3) JDK-8320682: [AArch64] C1 compilation fails with "Field too big for insn" (P4) JDK-8337876: [IR Framework] Add support for IR tests with @Stable (P4) JDK-8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option (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-8323688: C2: Fix UB of jlong overflow in PhaseIdealLoop::is_counted_loop() (P4) JDK-8325610: CTW: Add StressIncrementalInlining to stress options (P4) JDK-8330621: Make 5 compiler tests use ProcessTools.executeProcess (P4) JDK-8320397: RISC-V: Avoid passing t0 as temp register to MacroAssembler:: cmpxchg_obj_header/cmpxchgptr (P4) JDK-8337780: RISC-V: C2: Change C calling convention for sp to NS (P4) JDK-8340590: RISC-V: C2: Small improvement to vector gather load and scatter store (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-8342014: RISC-V: ZStoreBarrierStubC2 clobbers rflags (P4) JDK-8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build (P4) JDK-8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType' (P4) JDK-8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero (P4) JDK-8340109: Ubsan: ciEnv.cpp:1660:65: runtime error: member call on null pointer of type 'struct CompileTask' (P5) JDK-8317575: AArch64: C2_MacroAssembler::fast_lock uses rscratch1 for cmpxchg result (P5) JDK-8332724: x86 MacroAssembler may over-align code hotspot/gc: (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. (P4) JDK-8339648: ZGC: Division by zero in rule_major_allocation_rate hotspot/jvmti: (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: (P2) JDK-8329353: ResolvedReferencesNotNullTest.java failed with Incorrect resolved references array, quxString should not be archived (P3) JDK-8320892: AArch64: Restore FPU control state after JNI (P3) JDK-8319973: AArch64: Save and restore FPCR in the call stub (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-8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code (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-8339386: Assertion on AIX - original PC must be in the main code section of the compiled method (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-8341562: RISC-V: Generate comments in -XX:+PrintInterpreter to link to source code (P4) JDK-8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter (P4) JDK-8321299: runtime/logging/ClassLoadUnloadTest.java doesn't reliably trigger class unloading (P4) JDK-8316895: SeenThread::print_action_queue called on a null pointer (P4) JDK-8337067: Test runtime/classFileParserBug/Bad_NCDFE_Msg.java won't compile (P4) JDK-8321474: TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21 (P4) JDK-8329533: TestCDSVMCrash fails on libgraal (P4) JDK-8340923: The class LogSelection copies uninitialized memory (P4) JDK-8321550: Update several runtime/cds tests to use vm flags or mark as flagless hotspot/svc: (P5) JDK-8339384: Unintentional IOException in jdk.jdi module when JDWP end of stream occurs hotspot/svc-agent: (P4) JDK-8340657: [PPC64] SA determines wrong unextendedSP hotspot/test: (P4) JDK-8341261: Tests assume UnlockExperimentalVMOptions is disabled by default (P4) JDK-8332777: Update JCStress test suite (P4) JDK-8333108: Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization infrastructure: (P4) JDK-8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent infrastructure/build: (P4) JDK-8341024: [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries (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-8341806: Gcc version detection failure on Alinux3 (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: (P4) JDK-8339080: Bump update version for OpenJDK: jdk-21.0.6 security-libs: (P4) JDK-8318105: [jmh] the test java.security.HSS failed with 2 active threads security-libs/java.security: (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: (P5) JDK-8336240: Test com/sun/crypto/provider/Cipher/DES/PerformanceTest.java fails with java.lang.ArithmeticException security-libs/javax.crypto:pkcs11: (P3) JDK-8321543: Update NSS to version 3.96 security-libs/javax.net.ssl: (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