January 21, 2025
The full version string for this update release is 21.0.6+8 (where "+" means "build"). The version number is 21.0.6. This JDK conforms to version 21 of the Java SE Specification (JSR 396 2023-09-19).
JDK 21.0.6 contains IANA time zone data 2024b which contains the following changes:
For more information, refer to Timezone Data Versions in the JRE Software.
The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 21.0.6 are specified in the following table:
Java Family Version | Security Baseline (Full Version String) |
---|---|
21 | 21.0.6+8 |
17 | 17.0.14+8 |
11 | 11.0.26+7 |
8 | 1.8.0_441-b07 |
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 21.0.6) 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.
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.
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
This release also contains fixes for security vulnerabilities described in the Oracle Critical Patch Update.
➜ Issues fixed in 21.0.6:# | JBS | Component/Subcomponent | Summary |
---|---|---|---|
1 | JDK-8329667 | client-libs/javax.accessibility | [macos] Issue with JTree related fix for JDK-8317771 |
2 | JDK-8340812 | core-libs/java.lang.invoke | LambdaForm customization via MethodHandle::updateForm is not thread safe |
3 | JDK-8320575 | core-libs/java.lang:reflect | generic type information lost on mandated parameters of record's compact constructors |
4 | JDK-8334719 | core-libs/java.nio | (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed |
5 | JDK-8328366 | core-libs/java.util.concurrent | Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501 |
6 | JDK-8319876 | core-svc/java.lang.management | Reduce memory consumption of VM_ThreadDump::doit |
7 | JDK-8321509 | hotspot/compiler | False positive in get_trampoline fast path causes crash |
8 | JDK-8340214 | hotspot/compiler | C2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop |
9 | JDK-8337066 | hotspot/compiler | Repeated call of StringBuffer.reverse with double byte string returns wrong result |
10 | JDK-8335709 | hotspot/compiler | C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop |
11 | JDK-8339648 | hotspot/gc | ZGC: Division by zero in rule_major_allocation_rate |
12 | JDK-8338389 | hotspot/jfr | [JFR] Long strings should be added to the string pool |
13 | JDK-8325469 | hotspot/runtime | Freeze/Thaw code can crash in the presence of OSR frames |
14 | JDK-8335409 | hotspot/runtime | Can't allocate and retain memory from resource area in frame::oops_interpreted_do oop closure after 8329665 |
15 | JDK-8319973 | hotspot/runtime | AArch64: Save and restore FPCR in the call stub |
16 | JDK-8319818 | hotspot/runtime | Address GCC 13.2.0 warnings (stringop-overflow and dangling-pointer) |
17 | JDK-8340387 | hotspot/runtime | Update OS detection code to recognize Windows Server 2025 |
18 | JDK-8337410 | hotspot/test | The makefiles should set problemlist and adjust timeout basing on the given VM flags |
19 | JDK-8328723 | security-libs/java.security | IP Address error when client enables HTTPS endpoint check on server socket |
20 | JDK-8331864 | security-libs/java.security | Update Public Suffix List to 1cbd6e7 |
21 | JDK-8322809 | tools/jlink | SystemModulesMap::classNames and moduleNames arrays do not match the order |