java

JDK 23.0.2 Release Notes

Java™ SE Development Kit 23.0.2 (JDK 23.0.2)

Release date: January 21, 2025

The full version string for this update release is 23.0.2+7 (where "+" means "build"). The version number is 23.0.2. This JDK conforms to version 23 of the Java SE Specification (JSR 398 2024-09-17).

 

IANA TZ Data 2024b

JDK 23.0.2 contains IANA time zone data 2024b which contains the following changes:

  • Improve historical data for Mexico, Mongolia, and Portugal.
  • System V names are now obsolescent.
  • The main data form now uses %z.
  • The code now conforms to RFC 8536 for early timestamps.
  • Support POSIX.1-2024, which removes asctime_r and ctime_r.

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 23.0.2 are specified in the following table:

Java Family Version Security Baseline (Full Version String)
2323.0.2+7
2121.0.6+8
1717.0.14+8
1111.0.26+7
81.8.0_441-b07

 

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 23.0.2) be used after the next critical patch update scheduled for April 15, 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.

 

Other Notes

core-libs/java.lang
 ProcessBuilder on Windows Quotes Argument Strings Containing Any Space Character (JDK-8335428 (not public))

On Windows, the ProcessBuilder has expanded the quoting of argument strings when starting a process to ensure they are recognized by the application as a single command argument. The set of space characters has been expanded from space (0x20) to include all space characters as defined by java.lang.Character.isSpaceChar, which includes all Unicode space separator characters, such as EN-SPACE (0x2002), and line separator and paragraph separator characters.

core-libs/java.time
 Support for Time Zone Database 2024b (JDK-8339637)

IANA Time Zone Database has been upgraded to 2024b. This version mainly includes changes to improve historical data for Mexico, Mongolia, and Portugal. It also changes one timestamp abbreviation, for the time zone 'MET'. Also Asia/Choibalsan is now an alias for Asia/Ulaanbaatar.

The new tzdata changes also impact some legacy time zone IDs. As per 2024b changes "EST" links to "America/Panama", "HST" links to "Pacific/Honolulu" and "MST" links to "America/Phoenix". To maintain compatibility with the Java SE specification, the java.time.ZoneId.SHORT_IDS Map has not changed. Further details are available at JDK-8342331

 

Bug Fixes

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

Issues fixed in 23.0.2:
# JBS Component/Subcomponent Summary
1JDK-8337753core-libs/java.lang.foreignTarget class of upcall stub may be unloaded
2JDK-8341127core-libs/java.lang.foreignExtra call to MethodHandle::asType from memory segment var handles fails to inline
3JDK-8340812core-libs/java.lang.invokeLambdaForm customization via MethodHandle::updateForm is not thread safe
4JDK-8342145core-libs/java.nioFile libCreationTimeHelper.c compile fails on Alpine
5JDK-8341881core-libs/java.nio[REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
6JDK-8340073core-libs/java.util:i18nSupport "%z" time zone abbreviation format in TZ files
7JDK-8321509hotspot/compilerFalse positive in get_trampoline fast path causes crash
8JDK-8333791hotspot/compilerFix memory barriers for @Stable fields
9JDK-8335709hotspot/compilerC2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop
10JDK-8342496hotspot/compilerC2/Shenandoah: SEGV in compiled code when running jcstress
11JDK-8340313hotspot/compilerCrash due to invalid oop in nmethod after C1 patching
12JDK-8340214hotspot/compilerC2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop
13JDK-8337066hotspot/compilerRepeated call of StringBuffer.reverse with double byte string returns wrong result
14JDK-8340824hotspot/compilerC2: Memory for TypeInterfaces not reclaimed by hashcons()
15JDK-8342681hotspot/gcTestLoadBypassesNullCheck.java fails improperly specified VM option
16JDK-8339648hotspot/gcZGC: Division by zero in rule_major_allocation_rate
17JDK-8340586hotspot/gcJdkJfrEvent::get_all_klasses stores non-strong oops in JNI handles
18JDK-8338389hotspot/jfr[JFR] Long strings should be added to the string pool
19JDK-8337331hotspot/jvmticrash: pinned virtual thread will lead to jvm crash when running with the javaagent option
20JDK-8339725hotspot/jvmtiConcurrent GC crashed due to GetMethodDeclaringClass
21JDK-8335283hotspot/runtimeBuild failure due to 'no_sanitize' attribute directive ignored
22JDK-8335007hotspot/runtimeInline OopMapCache table
23JDK-8340383hotspot/runtimeVM issues warning failure to find kernel32.dll on Windows nanoserver
24JDK-8338058hotspot/runtimemap_or_reserve_memory_aligned Windows enhance remap assertion
25JDK-8338101hotspot/runtimeremove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
26JDK-8341688hotspot/runtimeAarch64: Generate comments in -XX:+PrintInterpreter to link to source code
27JDK-8325937hotspot/runtimeruntime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
28JDK-8337958hotspot/runtimeOut-of-bounds array access in secondary_super_cache
29JDK-8340387hotspot/runtimeUpdate OS detection code to recognize Windows Server 2025
30JDK-8335299hotspot/testRemove hs-atr-ci-genzgc
31JDK-8328723security-libs/java.securityIP Address error when client enables HTTPS endpoint check on server socket
32JDK-8337795tools/javacType annotation attached to incorrect type during class reading
33JDK-8337998tools/javacCompletionFailure in getEnclosingType attaching type annotations