RELEASE NOTES: JDK 25.0.3

Notes generated: Thu Jan 01 07:38:15 CET 2026

JEPs

None.

RELEASE NOTES

security-libs/java.security

Issue Description
JDK-8244336

New Security Property "jdk.crypto.disabledAlgorithms" for Restricting Algorithms at the JCE layer


A new security property named jdk.crypto.disabledAlgorithms has been introduced to disable algorithms for JCE/JCA cryptographic services. Initially this property only supports the Cipher, KeyStore, MessageDigest, and Signature services. This property is defined in the java.security file and initially no algorithms are disabled by default. However, this may change in the future. This security property can be overridden by a system property of the same name if applications need to re-enable algorithms.


hotspot/gc

Issue Description
JDK-8212084

G1: Support UseGCOverheadLimit


The G1 garbage collector now throws an OutOfMemoryException when the garbage collection overhead is more than GCTimeLimit percent (default value 98) and the free Java heap is less than GCHeapFreeLimit percent (default value 2) for five consecutive garbage collections.

This feature is enabled by default. It can be disabled using the -XX:-UseGCOverheadLimit option.

The implementation mirrors the functionality already provided by the Parallel garbage collector. However there may be differences in the exact conditions for the OOME triggers as G1 calculates garbage collection overhead and free Java heap slightly differently.


FIXED ISSUES

client-libs/2d

Priority Bug Summary
P3 JDK-8361381 GlyphLayout behavior differs on JDK 11+ compared to JDK 8
P4 JDK-8369032 Add test to ensure serialized ICC_Profile stores only necessary optional data
P4 JDK-8363950 Incorrect jtreg header in TestLayoutVsICU.java
P4 JDK-8368882 NPE during text drawing on machine with JP locale
P4 JDK-8369911 Test sun/java2d/marlin/ClipShapeTest.java#CubicDoDash, #Cubic and #Poly fail intermittent
P5 JDK-8371759 Add missing @Override annotations in com.sun.imageio package

client-libs/java.awt

Priority Bug Summary
P3 JDK-8372756 Mouse additional buttons and horizontal scrolling are broken on XWayland GNOME >= 47 after JDK-8351907
P3 JDK-8372977 Unnecessary gthread-2.0 loading
P3 JDK-8372534 Update Libpng to 1.6.51
P4 JDK-8361521 BogusFocusableWindowState.java fails with StackOverflowError on Linux
P4 JDK-8372048 Performance improvement on Linux remote desktop

client-libs/java.beans

Priority Bug Summary
P5 JDK-8370197 Add missing @Override annotations in com.sun.beans package

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8316274 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
P4 JDK-8353755 Add a helper method to Util - findComponent()
P5 JDK-8359418 Test "javax/swing/text/GlyphView/bug4188841.java" failed because the phrase of text pane does not match the instructions

core-libs/java.io

Priority Bug Summary
P4 JDK-8359182 Use @requires instead of SkippedException for MaxPath.java

core-libs/java.lang

Priority Bug Summary
P4 JDK-8354894 java/lang/Thread/virtual/Starvation.java timeout on server with high CPUs

core-libs/java.nio

Priority Bug Summary
P4 JDK-8317838 java/nio/channels/Channels/SocketChannelStreams.java running into timeout (aix)
P4 JDK-8366128 jdk/jdk/nio/zipfs/TestPosix.java::testJarFile uses wrong file

core-libs/java.rmi

Priority Bug Summary
P4 JDK-8372857 Improve debuggability of java/rmi/server/RemoteServer/AddrInUse.java test
P4 JDK-7191877 TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently

core-libs/java.text

Priority Bug Summary
P3 JDK-8369050 DecimalFormat Rounding Errors for Fractional Ties Near Zero
P4 JDK-8372609 Bug4944439 does not enforce locale correctly
P4 JDK-8368328 CompactNumberFormat.clone does not produce independent instances

core-libs/java.util.concurrent

Priority Bug Summary
P3 JDK-8365065 cancelled ForkJoinPool tasks no longer throw CancellationException
P4 JDK-8368500 ContextClassLoader cannot be reset on threads in ForkJoinPool.commonPool()
P4 JDK-8370887 DelayScheduler.replace method may break the 4-ary heap in certain scenarios

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-8367901 Calendar.roll(hour, 24) returns wrong result

core-svc/debugger

Priority Bug Summary
P4 JDK-8370636 com/sun/jdi/TwoThreadsTest.java should wait for completion of all threads

core-svc/java.lang.management

Priority Bug Summary
P3 JDK-8372704 ThreadMXBean.getThreadUserTime may return total time
P4 JDK-8030957 AIX: Implement OperatingSystemMXBean.getSystemCpuLoad() and .getProcessCpuLoad() on AIX

hotspot/compiler

Priority Bug Summary
P3 JDK-8370405 C2: mismatched store from MergeStores wrongly scalarized in allocation elimination
P3 JDK-8341039 compiler/cha/TypeProfileFinalMethod.java fails with assertEquals expected: 0 but was: 2
P3 JDK-8371864 GaloisCounterMode.implGCMCrypt0 AVX512/AVX2 intrinsics stubs cause AES-GCM encryption failure for certain payload sizes
P4 JDK-8361492 [IR Framework] Has too restrictive regex for load and store
P4 JDK-8370244 [PPC64] Several vector tests fail on Power8
P4 JDK-8358756 [s390x] Test StartupOutput.java crash due to CodeCache size
P4 JDK-8293484 AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support
P4 JDK-8360049 CodeInvalidationReasonTest.java fails with ZGC on AArch64
P4 JDK-8371385 compiler/escapeAnalysis/TestRematerializeObjects.java fails in case of -XX:-UseUnalignedAccesses
P4 JDK-8372046 compiler/floatingpoint/TestSubNodeFloatDoubleNegation.java fails IR verification
P4 JDK-8368787 Error reporting: hs_err files should show instructions when referencing code in nmethods
P4 JDK-8359064 Expose reason for marking nmethod non-entrant to JVMCI client
P4 JDK-8371608 Jtreg test jdk/internal/vm/Continuation/Fuzz.java sometimes fails with (fast)debug binaries
P4 JDK-8370579 PPC: fix inswri immediate argument order
P4 JDK-8362284 RISC-V: cleanup NativeMovRegMem
P4 JDK-8366747 RISC-V: Improve VerifyMethodHandles for method handle linkers
P4 JDK-8373998 RISC-V: simple optimization of ConvHF2F
P4 JDK-8367135 Test compiler/loopstripmining/CheckLoopStripMining.java needs internal timeouts adjusted
P4 JDK-8367278 Test compiler/startup/StartupOutput.java timed out after completion on Windows
P4 JDK-8369804 TestGenerators.java fails with IllegalArgumentException: bound must be greater than origin

hotspot/gc

Priority Bug Summary
P4 JDK-8371316 Adjust assertion (GC pause time cannot be smaller than the sum of each phase) in G1GCPhaseTimes::print
P4 JDK-8370325 G1: Disallow GC for TLAB allocation
P4 JDK-8212084 G1: Implement UseGCOverheadLimit
P4 JDK-8372412 Increase buffer size for ring-buffer events in CollectedHeap
P4 JDK-8361363 ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
P4 JDK-8366874 Test gc/arguments/TestParallelGCErgo.java fails with UseTransparentHugePages

hotspot/jfr

Priority Bug Summary
P2 JDK-8372586 Crashes on ppc64(le) after JDK-8371368
P2 JDK-8371368 SIGSEGV in JfrVframeStream::next_vframe() on arm64
P3 JDK-8370242 JFR: Clear event reference eagerly when using EventStream
P4 JDK-8366486 Test jdk/jfr/event/profiling/TestCPUTimeSampleMultipleRecordings.java is timing out

hotspot/jvmti

Priority Bug Summary
P4 JDK-8358679 [asan] vmTestbase/nsk/jvmti tests show memory issues
P4 JDK-8359707 Add classfile modification code to RedefineClassHelper
P4 JDK-8349192 jvmti/scenarios/contention/TC05/tc05t001 fails: ERROR: tc05t001.cpp, 281: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)

hotspot/runtime

Priority Bug Summary
P2 JDK-8366938 Test runtime/handshake/HandshakeTimeoutTest.java crashed
P3 JDK-8371944 AOT configuration is corrupted when app closes System.out
P3 JDK-8313770 jdk/internal/platform/docker/TestSystemMetrics.java fails on Ubuntu
P3 JDK-8366951 Test runtime/logging/StressAsyncUL.java is timing out
P4 JDK-8364741 [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly
P4 JDK-8357570 [macOS] os::Bsd::available_memory() might return too low values
P4 JDK-8368182 AOT cache creation fails with class defined by JNI
P4 JDK-8358686 CDS and AOT can cause buffer truncation warning even when logging is disabled
P4 JDK-8370572 Cgroups hierarchical memory limit is not honored after JDK-8322420
P4 JDK-8333871 Check return values of sysinfo
P4 JDK-8354937 Cleanup some sparc related coding in os_linux
P4 JDK-8368551 Core dump warning may be confusing
P4 JDK-8370966 Create regression test for the hierarchical memory limit fix in JDK-8370572
P4 JDK-8357591 Re-enable CDS test cases for jvmci after JDK-8345826
P4 JDK-8370708 RISC-V: Add VerifyStackAtCalls
P4 JDK-8371966 RISC-V: Incorrect pointer dereference in TemplateInterpreterGenerator::generate_native_entry
P4 JDK-8368754 runtime/cds/appcds/SignedJar.java log regex is too strict
P4 JDK-8307495 Specialize atomic bitset functions for aix-ppc
P4 JDK-8373593 Support latest VS2026 MSC_VER in abstract_vm_version.cpp
P4 JDK-8343340 Swapping checking do not work for MetricsMemoryTester failcount
P4 JDK-8370064 Test runtime/NMT/CheckForProperDetailStackTrace.java fails on Windows when using stripped pdb files
P4 JDK-8370646 TestLargeUTF8Length.java needs lots of memory
P4 JDK-8366908 Use a different class for testing JDK-8351654

hotspot/svc

Priority Bug Summary
P3 JDK-8359472 JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE
P4 JDK-8370730 Test serviceability/attach/EarlyDynamicLoad/EarlyDynamicLoad.java needs to be resilient about warnings

hotspot/svc-agent

Priority Bug Summary
P4 JDK-8370240 [PPC64] jhsdb jstack cannot handle continuation stub
P4 JDK-8369505 jhsdb jstack cannot handle continuation stub
P4 JDK-8370201 Test serviceability/sa/TestJhsdbJstackWithVirtualThread.java fails due to VM warnings
P4 JDK-8370036 TestJhsdbJstackWithVirtualThread.java fails when run with -showversion

hotspot/test

Priority Bug Summary
P4 JDK-8370649 Add intermittent tag for gc/shenandoah/generational/TestOldGrowthTriggers.java

infrastructure

Priority Bug Summary
P4 JDK-8372320 Bump update version for OpenJDK: jdk-25.0.3

infrastructure/build

Priority Bug Summary
P4 JDK-8371967 Add Visual Studio 2026 to build toolchain for Windows

security-libs/java.security

Priority Bug Summary
P3 JDK-8244336 Restrict algorithms at JCE layer
P4 JDK-8357470 src/java.base/share/classes/sun/security/util/Debug.java implement the test for args.toLowerCase
P4 JDK-8346962 Test CRLReadTimeout.java fails with -Xcomp on a fastdebug build

security-libs/javax.net.ssl

Priority Bug Summary
P4 JDK-8366182 Some PKCS11Tests are being skipped when they shouldn't
P4 JDK-8333857 Test sun/security/ssl/SSLSessionImpl/ResumeChecksServer.java failed: Existing session was used
P4 JDK-8366817 test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcServer.java and JdkProcClient.java should not delete logs
P4 JDK-8357277 Update OpenSSL library for interop tests

security-libs/jdk.security

Priority Bug Summary
P4 JDK-8360562 sun/security/tools/keytool/i18n.java add an ability to add comment for failures

tools/javac

Priority Bug Summary
P3 JDK-8358801 javac produces class that does not pass verifier.

tools/javadoc(tool)

Priority Bug Summary
P4 JDK-8366278 Form control element
P4 JDK-8365305 The ARIA role ‘contentinfo’ is not valid for the element

tools/launcher

Priority Bug Summary
P4 JDK-8370393 Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md

xml/jaxp

Priority Bug Summary
P4 JDK-8336695 Update Commons BCEL to Version 6.10.0