Eclipse Temurin 11.0.16 发行注记

Red Hat build of OpenJDK 11

Red Hat Customer Content Services

摘要

查看发行注记以了解由 Eclipse Temurin 提供的 OpenJDK 11 最新构建中包含的新功能和功能增强。

前言

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

Eclipse Temurin 软件包在 Microsoft Windows 和多个 Linux x86 操作系统上提供,包括 Red Hat Enterprise Linux 和 Ubuntu。

使开源包含更多

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

第 1 章 Eclipse Temurin 的支持策略

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

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

注意

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

第 2 章 Eclipse Temurin 功能

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

有关 Eclipse Temurin 的最新 OpenJDK 11 发行版本中包含的更改和安全修复的列表,请参阅 OpenJDK 11.0.16 发行版本

新功能及功能增强

查看以下发行注记以了解 Eclipse Temurin 11.0.16 发行版本中包含的新功能和功能增强:

Vector 会在缺少元素类时抛出 ClassNotFoundException

如果没有找到 Vector 元素的类,java.util.Vector 现在使用 java.io.ObjectInputStream.GetField.get (name, object) 正确报告在序列化过程中出现的 ClassNotFoundException。在以前的版本中,会显示 StreamCorruptedException 错误,它没有提供有关缺失类的任何信息。

请参阅 JDK-8277157 (JDK Bug System)

Java Generic Security Services (GSS)或 Kerberos 的 HTTPS 频道绑定支持

当 Negotiate 通过 javax.net.HttpsURLConnection 中选择 Kerberos 身份验证时,OpenJDK 11.0.16 发行版本支持 TLS 频道绑定令牌。

频道绑定令牌通过缓解一些中间人(MITM)攻击来提高安全性。当服务器收到有关 TLS 服务器证书和客户端的身份验证凭据绑定的详细信息时,服务器会检测 MITM 攻击是否已对客户端进行 fooled,并可以关闭连接。

该功能通过 jdk.https.negotiate.cbt 系统属性进行控制,该属性在 Oracle 文档 中已完全描述。

请参阅 JDK-8285240 (JDK Bug System)

ProcessBuilder中处理带引号参数的处理错误

在 OpenJDK 11.0.16 发布之前,在 Windows 上对 ProcessBuilder 的参数以双引号标记开头,然后以反斜杠结尾,后跟传递给命令的双引号标记,从而导致命令失败。例如,参数 "C:\\Program Files\" "被处理为末尾具有额外的双引号标记。

OpenJDK 11.0.16 发行版本通过恢复之前可用的行为来解决这个问题,其中最终双引号标记前的反斜杠(\)不会被特殊处理。

请参阅 JDK-8283137 (JDK Bug System)

当遇到 IOException 时默认 JDK 压缩器关闭

已修改 DeflaterOutputStream.close ()GZIPOutputStream.finish () 方法,以便在传播一个可浏览堆栈前关闭相关的默认 JDK 压缩程序。已修改 ZIPOutputStream.closeEntry () 方法,以便在传播 IOException 之前关闭关联的默认 JDK 压缩程序,而不是键入 ZipException, up 堆栈。

请参阅 JDK-8278386 (JDK Bug System)

java.io.File中禁用 Windows Alternate Data Stream 支持的新系统属性

java.io.File 的 Windows 实现默认允许访问 NTFS Alternate Data Streams (ADS)。这些流以 filename:streamname 格式构建。OpenJDK 11.0.16 发行版本添加了一个系统属性,允许您在 java.io.File 中禁用 ADS 支持。要在 java.io.File 中禁用 ADS 支持,请将 jdk.io.File.enableADS 系统属性设置为 false

重要

禁用 java.io.File 中的 ADS 支持会导致更严格的路径检查,以防止使用 NUL: 等特殊设备。

请参阅 JDK-8285660 (JDK Bug System)

更新于 2023-11-04

法律通告

Copyright © 2023 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.