Chapter 2. Eclipse Temurin features
Eclipse Temurin does not contain structural changes from the upstream distribution of OpenJDK.
For the list of changes and security fixes that the latest OpenJDK 21 release of Eclipse Temurin includes, see OpenJDK 21.0.6 Released.
New features and enhancements
Eclipse Temurin 21.0.6 includes the following new features and enhancements.
Option for jar
command to avoid overwriting files when extracting an archive
In earlier OpenJDK releases, when the jar
tool extracted files from an archive, the jar
tool overwrote any existing files with the same name in the target directory.
OpenJDK 21.0.6 adds a new ‑k
(or ‑‑keep-old-files
) option that you can use to ensure that the jar
tool does not overwrite existing files. You can specify this new option in either short or long format.
For example:
-
jar xkf myfile.jar
-
jar --extract ‑‑keep-old-files ‑‑file myfile.jar
In OpenJDK 21.0.6, the jar
tool retains the old behavior by default. If you do not explicitly specify the ‑k
(or ‑‑keep-old-files
) option, the jar
tool automatically overwrites any existing files with the same name.
See JDK-8335912 (JDK Bug System) and JDK bug system reference ID: JDK-8337499.
IANA time zone database updated to version 2024b
In OpenJDK 21.0.6, the in-tree copy of the Internet Assigned Numbers Authority (IANA) time zone database is updated to version 2024b. This update is primarily concerned with improving historical data for Mexico, Mongolia, and Portugal.
This update to the IANA database also includes the following changes:
-
Asia/Choibalsan
is an alias forAsia/Ulaanbaatar
. - The Middle European Time (MET) time zone is equal to Central European Time (CET).
Some legacy time-zone IDs are mapped to geographical names rather than fixed offsets:
-
Eastern Standard Time (EST) is mapped to
America/Panama
rather than-5:00
. -
Mountain Standard Time (MST) is mapped to
America/Phoenix
rather than-7:00
. -
Hawaii Standard Time (HST) is mapped to
Pacific/Honolulu
rather than-10:00
.
OpenJDK overrides the change in the legacy time-zone ID mappings by retaining the existing fixed-offset mapping.
-
Eastern Standard Time (EST) is mapped to
See JDK-8339637 (JDK Bug System).
Revised on 2025-01-30 11:12:40 UTC