RELEASE NOTES: JDK 25.0.1

Notes generated: Wed Oct 08 08:00:40 CEST 2025

JEPs

None.

RELEASE NOTES

core-libs/java.io:serialization

Issue Description
JDK-8367031

Regression in Serialization of LocalDate Class Objects


The serialized Class objects for several classes in the java.time package are incompatible between JDK 25 and previous versions. The affected classes include LocalDate, YearMonth, MonthDay, and HijrahDate. If a Class object for one of these classes is serialized on a previous version and is deserialized on JDK 25, or vice-versa, InvalidClassException will be thrown.

Note that the incompatibility exists with Class objects but not instances of these classes. Serializing the Class object, for example by using:

`writeObject(LocalDate.class)`

will encounter the incompatibility. However, Serializing an instance through

`writeObject(LocalDate.now())`

is compatible.

The issue will be examined for a future update release.


security-libs/java.security

Issue Description
JDK-8361212

Removed Four AffirmTrust Root Certificates


The following root certificates, which are deactivated and no longer in use, have been removed from the cacerts keystore:

``` + alias name "affirmtrustcommercialca [jdk]" Distinguished Name: CN=AffirmTrust Commercial, O=AffirmTrust, C=US

  • alias name "affirmtrustnetworkingca [jdk]" Distinguished Name: CN=AffirmTrust Networking, O=AffirmTrust, C=US

  • alias name "affirmtrustpremiumca [jdk]" Distinguished Name: CN=AffirmTrust Premium, O=AffirmTrust, C=US

  • alias name "affirmtrustpremiumeccca [jdk]" Distinguished Name: CN=AffirmTrust Premium ECC, O=AffirmTrust, C=US ```


FIXED ISSUES

client-libs/java.awt

Priority Bug Summary
P3 JDK-8360647 [XWayland] [OL10] NumPad keys are not triggered
P3 JDK-8358452 JNI exception pending in Java_sun_awt_screencast_ScreencastHelper_remoteDesktopKeyImpl of screencast_pipewire.c:1214 (ID: 51119)

core-libs/java.io:serialization

Priority Bug Summary
P2 JDK-8367031 [backout] Change java.time month/day field types to 'byte'

core-libs/java.util:i18n

Priority Bug Summary
P3 JDK-8368308 ISO 4217 Amendment 180 Update
P4 JDK-8358819 The first year is not displayed correctly in Japanese Calendar

docs/guides

Priority Bug Summary
P4 JDK-8367892 Document System Logger use for javax.net.debug property

hotspot/compiler

Priority Bug Summary
P3 JDK-8361532 RISC-V: Several vector tests fail after JDK-8354383
P4 JDK-8359270 C2: alignment check should consider base offset when emitting arraycopy runtime call
P4 JDK-8360179 RISC-V: Only enable BigInteger intrinsics when AvoidUnalignedAccess == false
P4 JDK-8359218 RISC-V: Only enable CRC32 intrinsic when AvoidUnalignedAccess == false

hotspot/gc

Priority Bug Summary
P2 JDK-8366223 ZGC: ZPageAllocator::cleanup_failed_commit_multi_partition is broken

hotspot/jvmti

Priority Bug Summary
P4 JDK-8358577 Test serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java failed: unexpexcted monitor object

hotspot/runtime

Priority Bug Summary
P4 JDK-8360533 ContainerRuntimeVersionTestUtils fromVersionString fails with some docker versions

hotspot/test

Priority Bug Summary
P4 JDK-8357826 Avoid running some jtreg tests when asan is configured

infrastructure/build

Priority Bug Summary
P4 JDK-8359059 Bump version numbers for 25.0.1

security-libs/java.security

Priority Bug Summary
P3 JDK-8361212 Remove AffirmTrust root CAs