RELEASE NOTES: JDK 25.0.4

Notes generated: Fri Mar 20 06:46:33 CET 2026

JEPs

None.

RELEASE NOTES

None.

FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8297191 [macos] Printing a page range with starting page > 1 results in missing pages
P3 JDK-8375065 Update LCMS to 2.18

client-libs/java.awt

Priority Bug Summary
P3 JDK-8298823 [macos] java/awt/Mouse/EnterExitEvents/DragWindowTest.java continues to fail with "No MouseReleased event on label!"
P3 JDK-8376233 Clean up code in Desktop native peer
P3 JDK-8225787 java/awt/Window/GetScreenLocation/GetScreenLocationTest.java fails on Ubuntu
P4 JDK-8213530 Test java/awt/Modal/ToFront/DialogToFrontModeless1Test.java fails on Linux
P4 JDK-8203004 UnixMultiResolutionSplashTest.java fails on Ubuntu16.04

client-libs/javax.imageio

Priority Bug Summary
P4 JDK-8377167 javax/imageio/ReadAbortTest.java throw NPE when x11 unavailable

client-libs/javax.sound

Priority Bug Summary
P4 JDK-8374727 Audio configuration Platform class - use nio for getting endianness of the underlying platform

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8365625 Can't change accelerator colors in Windows L&F
P3 JDK-8374506 Incorrect positioning of arrow icon in parent JMenu in Windows L&F
P3 JDK-8373650 Test "javax/swing/JMenuItem/6458123/ManualBug6458123.java" fails because the check icons are not aligned properly as expected
P4 JDK-8068293 [TEST_BUG] Test closed/com/sun/java/swing/plaf/motif/InternalFrame/4150591/bug4150591.java fails with GTKLookAndFeel
P4 JDK-8068310 [TEST_BUG] Test javax/swing/JColorChooser/Test4234761.java fails with GTKL&F
P4 JDK-8365379 SU3.applyInsets may produce wrong results
P4 JDK-8376151 Test javax/swing/JFileChooser/4966171/bug4966171.java is failing with OOME
P4 JDK-8373847 Test javax/swing/JMenuItem/MenuItemTest/bug6197830.java failed because The test case automatically fails when clicking any items in the “Nothing” menu in all four windows (Left-to-right)-Menu Item Test and (Right-to-left)-Menu Item Test

core-libs

Priority Bug Summary
P4 JDK-8373718 jdk/internal/misc/VM/RuntimeArguments.java test fails in Virtual threads mode

core-libs/java.io

Priority Bug Summary
P4 JDK-8377910 Minor cleanup of java/io/FileDescriptor/Sharing.java
P4 JDK-8355339 Test java/io/File/GetCanonicalPath.java failed: The specified network name is no longer available
P4 JDK-8351010 Test java/io/File/GetXSpace.java failed: / usable space 56380809216 > free space 14912244940

core-libs/java.lang

Priority Bug Summary
P4 JDK-8370370 Add still more cases to WorstCaseTests

core-libs/java.net

Priority Bug Summary
P4 JDK-8347167 Reduce allocation in com.sun.net.httpserver.Headers::normalize
P4 JDK-8369950 TLS connection to IPv6 address fails with BCJSSE due to IllegalArgumentException

core-libs/java.text

Priority Bug Summary
P4 JDK-8368001 java/text/Format/NumberFormat/NumberRoundTrip.java timed out

core-svc/java.lang.management

Priority Bug Summary
P3 JDK-8369736 Add management interface for AOT cache creation

hotspot/compiler

Priority Bug Summary
P3 JDK-8376104 C2 crashes in PhiNode::Ideal(PhaseGVN*, bool) accessing NULL pointer
P3 JDK-8361699 C2: assert(can_reduce_phi(n->as_Phi())) failed: Sanity: previous reducible Phi is no longer reducible before SUT
P3 JDK-8370502 C2: segfault while adding node to IGVN worklist
P3 JDK-8370939 C2: SIGSEGV in SafePointNode::verify_input when processing MH call from Compile::process_late_inline_calls_no_inline()
P3 JDK-8339526 C2: store incorrectly removed for clone() transformed to series of loads/stores
P4 JDK-8374744 Enable dumping of APX EGPRs (R16–R31) in JVM fatal error logs
P4 JDK-8371792 Refactor barrier loop tests out of TestIfMinMax
P4 JDK-8358772 Template-Framework Library: Primitive Types
P4 JDK-8358600 Template-Framework Library: Template for TestFramework test class
P4 JDK-8325482 Test that distinct seeds produce distinct traces for compiler stress flags
P5 JDK-8378888 jdk/incubator/vector/Float16OperationsBenchmark.java uses wrong package name

hotspot/gc

Priority Bug Summary
P4 JDK-8364927 Add @requires annotation to TestReclaimStringsLeaksMemory.java
P4 JDK-8319326 GC: Make TestParallelRefProc use createTestJavaProcessBuilder
P4 JDK-8319540 GC: Make TestSelectDefaultGC use createTestJavaProcessBuilder
P4 JDK-8367708 GenShen: Reduce total evacuation burden
P4 JDK-8378561 Mark gc/shenandoah/compiler/TestLinkToNativeRBP.java as /native
P4 JDK-8367450 Shenandoah: Log the composition of the collection set

hotspot/jvmti

Priority Bug Summary
P4 JDK-8368159 Significant performance overhead when started with jdwp agent and unattached debugger

hotspot/runtime

Priority Bug Summary
P4 JDK-8377932 AOT cache is not rejected when JAR file has changed
P4 JDK-8376402 Dependencies::print_statistics() and AbstractClassHierarchyWalker::print_statistics() are not called from PRODUCT code
P4 JDK-8374998 Failing os::write - remove bad file
P4 JDK-8363949 Incorrect jtreg header in MonitorWithDeadObjectTest.java
P4 JDK-8367485 os::physical_memory is broken in 32-bit JVMs when running on 64-bit OSes
P4 JDK-8357086 os::xxx functions returning memory size should return size_t
P4 JDK-8374769 PPC: MASM::pop_cont_fastpath() should reset _cont_fastpath if SP == _cont_fastpath

hotspot/test

Priority Bug Summary
P4 JDK-8378810 Enable missing FFM test via jtreg requires for RISC-V
P4 JDK-8379464 Enable missing stack walking test via jtreg requires for RISC-V

infrastructure

Priority Bug Summary
P4 JDK-8378774 Bump update version for OpenJDK: jdk-25.0.4

security-libs/java.security

Priority Bug Summary
P4 JDK-8373690 Unexpected Keystore message using jdk.crypto.disabledAlgorithms

security-libs/jdk.security

Priority Bug Summary
P4 JDK-8368524 Tests are skipped and shown as passed in test/jdk/sun/security/pkcs11/Cipher/KeyWrap

xml/jaxp

Priority Bug Summary
P4 JDK-8364315 Remove unused xml files from test/jaxp/javax/xml/jaxp/functional/javax/xml/transform/xmlfiles