java

JDK 24.0.2 Release Notes

Java™ SE Development Kit 24.0.2 (JDK 24.0.2)

Release date: July 15, 2025

The full version string for this update release is 24.0.2+12 (where "+" means "build"). The version number is 24.0.2. This JDK conforms to version 24 of the Java SE Specification (JSR 399 2025-03-18).

 

IANA TZ Data 2025b

JDK 24.0.2 contains IANA time zone data 2025b which contains the following changes:

  • New zone for Aysén Region in Chile which moves from -04/-03 to -03.

For more information, refer to Timezone Data Versions in the JRE Software.

 

Security Baselines

The security baselines for the Java Runtime at the time of the release of JDK 24.0.2 are specified in the following table:

Java Family Version Security Baseline (Full Version String)
2424.0.2+12
2121.0.8+12
1717.0.16+12
1111.0.28+12
81.8.0_461-b11

 

Keeping the JDK up to Date

Oracle recommends that the JDK is updated with each Critical Patch Update. In order to determine if a release is the latest, the Security Baseline page can be used to determine which is the latest version for each release family.

Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Bulletins. It is not recommended that this JDK (version 24.0.2) be used after the next critical patch update scheduled for October 21, 2025.

Java Management Service, available to all users, can help you find vulnerable Java versions in your systems. Java SE Subscribers and customers running in Oracle Cloud can use Java Management Service to update Java Runtimes and to do further security reviews like identifying potentially vulnerable third party libraries used by your Java programs. Existing Java Management Service user click here to log in to your dashboard. The Java Management Service Documentation provides a list of features available to everyone and those available only to customers. Learn more about using Java Management Service to monitor and secure your Java Installations.

 

Removed Features and Options

security-libs/java.security
 Removed Baltimore CyberTrust Root Certificate After Expiry Date (JDK-8303770)

The following expired root certificate has been removed from the cacerts keystore:

+ alias name "baltimorecybertrustca [jdk]"

  Distinguished Name: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE

security-libs/java.security
 Removed Two Camerfirma Root Certificates (JDK-8350498)

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

+ alias name "camerfirmachamberscommerceca [jdk]"

  Distinguished Name: CN=Chambers of Commerce Root, OU=http://www.chambersign.org, O=AC Camerfirma SA CIF A82743287, C=EU

+ alias name "camerfirmachambersignca [jdk]"
  Distinguished Name: CN=Global Chambersign Root - 2008, O=AC Camerfirma S.A., SERIALNUMBER=A82743287, L=Madrid (see current address at www.camerfirma.com/address), C=EU

 

Other Notes

security-libs/java.security
 Added 4 New Root Certificates from Sectigo Limited (JDK-8359170)

The following root certificates have been added to the cacerts truststore:

+ Sectigo Limited

  + sectigocodesignroote46
    DN: CN=Sectigo Public Code Signing Root E46, O=Sectigo Limited, C=GB

+ Sectigo Limited
  + sectigocodesignrootr46
    DN: CN=Sectigo Public Code Signing Root R46, O=Sectigo Limited, C=GB

+ Sectigo Limited
  + sectigotlsroote46
    DN: CN=Sectigo Public Server Authentication Root E46, O=Sectigo Limited, C=GB

+ Sectigo Limited
  + sectigotlsrootr46
    DN: CN=Sectigo Public Server Authentication Root R46, O=Sectigo Limited, C=GB

install/install
 Sign oracle.com JDK RPM Packages with OL9 Signing Key (JDK-8351906 (not public))

The oracle.com JDK RPM packages meant to be downloaded directly to the target system, now are signed with the OL9 signing key instead of the OL8 signing key. The RPM packages hosted on YUM repositories remain signed with the appropriate key for the target repository.

tools/jpackage
 jpackage No Longer Includes Service Bindings by Default for Generated Run-Time Images (JDK-8345185)

Starting with JDK 25, jpackage no longer includes service bindings for a run-time image that it creates. Prior to JDK 25, jpackage would include service bindings for run-time images. As a result, the generated run-time images produced by jpackage might not include the same set of modules as it did in prior versions.

The previous behavior can be achieved by adding the --bind-services jlink option to the default jlink options jpackage uses:

jpackage [...] --jlink-options \

   "--strip-native-commands --strip-debug --no-man-pages --no-header-files --bind-services"

 

Bug Fixes

This release also contains fixes for security vulnerabilities described in the Oracle Critical Patch Update.

Issues fixed in 24.0.2:
# JBS Component/Subcomponent Summary
1JDK-8347377client-libs/2dAdd validation checks for ICC_Profile header fields
2JDK-8343224client-libs/2dprint/Dialog/PaperSizeError.java fails with MediaSizeName is not A4: A4
3JDK-8330936client-libs/2d[ubsan] exclude function BilinearInterp and ShapeSINextSpan in libawt java2d from ubsan checks
4JDK-8348597client-libs/2dUpdate HarfBuzz to 10.4.0
5JDK-8348596client-libs/2dUpdate FreeType to 2.13.3
6JDK-8348600client-libs/java.awtUpdate PipeWire to 1.3.81
7JDK-8348598client-libs/java.awtUpdate Libpng to 1.6.47
8JDK-8349378client-libs/java.awtBuild splashscreen lib with SIZE optimization
9JDK-8280991client-libs/java.awt[XWayland] No displayChanged event after setDisplayMode call
10JDK-8286204client-libs/javax.accessibility[Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
11JDK-8345728client-libs/javax.accessibility[Accessibility,macOS,Screen Magnifier]: JCheckbox unchecked state does not magnify but works for checked state
12JDK-8348936client-libs/javax.accessibility[Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS
13JDK-8346705core-libs/java.netSNI not sent with Java 22+ using java.net.http.HttpClient.Builder#sslParameters
14JDK-8351233core-libs/java.util[ASAN] avx2-emu-funcs.hpp:151:20: error: ‘D.82188’ is used uninitialized
15JDK-8353787core-libs/java.util.jarIncreased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint
16JDK-8356096core-libs/java.util:i18nISO 4217 Amendment 179 Update
17JDK-8347997hotspot/compilerassert(false) failed: EA: missing memory path
18JDK-8343978hotspot/compilerUpdate the default value of CodeEntryAlignment for Ampere-1A and 1B
19JDK-8348261hotspot/compilerassert(n->is_Mem()) failed: memory node required
20JDK-8347718hotspot/compilerUnexpected NullPointerException in C2 compiled code due to ReduceAllocationMerges
21JDK-8349637hotspot/compilerInteger.numberOfLeadingZeros outputs incorrectly in certain cases
22JDK-8346264hotspot/compiler"Total compile time" counter should include time spent in failing/bailout compiles
23JDK-8336042hotspot/compilerCaller/callee param size mismatch in deoptimization causes crash
24JDK-8350483hotspot/compilerAArch64: turn on signum intrinsics by default on Ampere CPUs
25JDK-8352508hotspot/gc[Redo] G1: Pinned regions with pinned objects only reachable by native code crash VM
26JDK-8351500hotspot/gcG1: NUMA migrations cause crashes in region allocation
27JDK-8353946hotspot/runtimeIncorrect WINDOWS ifdef in os::build_agent_function_name
28JDK-8350313hotspot/runtimeInclude timings for leaving safepoint in safepoint logging
29JDK-8350201hotspot/runtimeOut of bounds access on Linux aarch64 in os::print_register_info
30JDK-8343191hotspot/runtimeCgroup v1 subsystem fails to set subsystem path
31JDK-8345569hotspot/runtime[ubsan] adjustments to filemap.cpp and virtualspace.cpp for macOS aarch64
32JDK-8349039hotspot/svc-agentAdjust exception No type named <ThreadType> in database
33JDK-8353185tools/jlinkIntroduce the concept of upgradeable files in context of JEP 493
34JDK-8355524tools/jlinkOnly every second line in upgradeable files is being used