Eclipse Temurin 21.0.6 发行注记


Red Hat build of OpenJDK 21

Red Hat Customer Content Services

摘要

Eclipse Temurin 21.0.6 发行注记介绍了 OpenJDK 21 中的新功能以及潜在的已知问题列表和可能的临时解决方案。

前言

Open Java Development Kit (OpenJDK)是 Java Platform, Standard Edition (Java SE)的一个免费的开源实现。Eclipse Temurin 在四个 LTS 版本中提供:OpenJDK 8u、OpenJDK 11u、OpenJDK 17u 和 OpenJDK 21u。

Eclipse Temurin 的二进制文件可用于 macOS、Microsoft Windows 和多个 Linux x86 操作系统,包括 Red Hat Enterprise Linux 和 Ubuntu。

提供有关红帽构建的 OpenJDK 文档的反馈

要报告错误或改进文档,请登录您的红帽 JIRA 帐户并提交问题。如果您没有红帽 JIRA 帐户,系统会提示您创建一个帐户。

流程

  1. 单击以下链接 来创建 ticket
  2. Summary 中输入有关此问题的简单描述。
  3. 提供有关 描述 中问题或增强功能的详细描述。包括一个 URL,以在文档中发生问题。
  4. Create 创建并将问题路由到适当的文档团队。

使开源包含更多

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。我们从这四个术语开始:master、slave、黑名单和白名单。由于此项工作十分艰巨,这些更改将在即将推出的几个发行版本中逐步实施。详情请查看 CTO Chris Wright 的信息

第 1 章 Eclipse Temurin 的支持策略

红帽在其产品中支持选定的 Eclipse Temurin 主版本。为了实现一致性,这些版本与 Oracle 指定长期支持(LTS)的 Oracle JDK 版本类似。

自首次引入该版本时,Eclipse Temurin 的主要版本将最少提供六年。如需更多信息,请参阅 Eclipse Temurin 生命周期和支持政策

注意

RHEL 6 于 2020 年 11 月结束其生命周期。因此,Eclipse Temurin 不支持 RHEL 6 作为受支持的配置。

第 2 章 Eclipse Temurin 功能

Eclipse Temurin 不包含来自 OpenJDK 上游发行版的结构性更改。

有关 Eclipse Temurin 最新 OpenJDK 21 发行版本的更改和安全修复程序,请参阅 OpenJDK 21.0.6 发行版本

新功能及功能增强

Eclipse Temurin 21.0.6 包括以下新功能和增强。

jar 命令的选项,以避免在提取存档时覆盖文件

在之前的 OpenJDK 版本中,当 jar 工具从存档中提取文件时,jar 工具会覆盖目标目录中名称相同的任何现有文件。

OpenJDK 21.0.6 添加了一个 new -k (or --keep-old-files)选项,以确保 jar 工具不会覆盖现有的文件。您可以使用短或长格式指定这个新选项。

例如:

  • JAR xkf myfile.jar
  • JAR --extract --keep-old-files --file myfile.jar
注意

在 OpenJDK 21.0.6 中,jar 工具默认保留旧行为。如果您没有明确指定 the -k (or --keep-old-files)选项,jar 工具会自动覆盖具有相同名称的任何现有文件。

请参阅 JDK-8335912 (JDK Bug System) 和 JDK bug system reference ID: JDK-8337499。

IANA 时区数据库更新至 2024b 版本

在 OpenJDK 21.0.6 中,互联网分配号(IANA)时区数据库的树内副本更新至 2024b 版本。这个版本主要关注改进墨西哥、Mongolia 和葡ugal 的历史数据。

对 IANA 数据库的这个更新还包括以下更改:

  • Asia/ChoibalsanAsia/Ulaanbaatar 的别名。
  • 欧洲时间(MET)时区等于中欧时间(CET)。
  • 有些旧的时间 ID 映射到地理位置的名称,而不是固定偏移:

    • 东部标准时间(EST)映射到 美国/巴马, 而不是-5 :00
    • Mountain Standard Time (MST)映射到 America/Phoenix 而不是 -7:00
    • Hawaii Standard Time (HST)被映射到 Pacific/Honolulu 而不是 -10:00

    OpenJDK 通过保留现有的 fixed-offset 映射来覆盖旧时间 ID 映射的更改。

请参阅 JDK-8339637 (JDK Bug System)

更新于 2025-04-21

法律通告

Copyright © 2025 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat, Inc.