Release notes for Red Hat build of OpenJDK 8.0.352
Abstract
Preface Copy linkLink copied to clipboard!
OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE). The Red Hat build of OpenJDK is available in three versions: 8u, 11u, and 17u.
Packages for the Red Hat build of OpenJDK are available on Red Hat Enterprise Linux and Microsoft Windows platforms and shipped as a JDK and a JRE in the Red Hat Ecosystem Catalog.
Providing feedback on Red Hat build of OpenJDK documentation Copy linkLink copied to clipboard!
To report an error or to improve our documentation, log in to your Red Hat Jira account and submit an issue. If you do not have a Red Hat Jira account, then you will be prompted to create an account.
Procedure
- Click the following link to create a ticket.
- Enter a brief description of the issue in the Summary.
- Provide a detailed description of the issue or enhancement in the Description. Include a URL to where the issue occurs in the documentation.
- Clicking Submit creates and routes the issue to the appropriate documentation team.
Making open source more inclusive Copy linkLink copied to clipboard!
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
Chapter 1. Support policy Copy linkLink copied to clipboard!
Red Hat will support select major versions of Red Hat build of OpenJDK in its products. For consistency, these are the same versions that Oracle designates as long-term support (LTS) for the Oracle JDK.
A major version of Red Hat build of OpenJDK will be supported for a minimum of six years from the time that version is first introduced. For more information, see the OpenJDK Life Cycle and Support Policy.
RHEL 6 reached the end of life in November 2020. Because of this, Red Hat build of OpenJDK is not supporting RHEL 6 as a supported configuration.
Chapter 2. Differences from upstream OpenJDK 8 Copy linkLink copied to clipboard!
Red Hat build of OpenJDK in Red Hat Enterprise Linux (RHEL) contains a number of structural changes from the upstream distribution of OpenJDK. The Microsoft Windows version of Red Hat build of OpenJDK attempts to follow RHEL updates as closely as possible.
The following list details the most notable Red Hat build of OpenJDK 8 changes:
- FIPS support. Red Hat build of OpenJDK 8 automatically detects whether RHEL is in FIPS mode and automatically configures Red Hat build of OpenJDK 8 to operate in that mode. This change does not apply to Red Hat build of OpenJDK builds for Microsoft Windows.
- Cryptographic policy support. Red Hat build of OpenJDK 8 obtains the list of enabled cryptographic algorithms and key size constraints from the RHEL system configuration. These configuration components are used by the Transport Layer Security (TLS) encryption protocol, the certificate path validation, and any signed JARs. You can set different security profiles to balance safety and compatibility. This change does not apply to Red Hat build of OpenJDK builds for Microsoft Windows.
-
Red Hat build of OpenJDK on RHEL dynamically links against native libraries such as
zlibfor archive format support andlibjpeg-turbo,libpng, andgiflibfor image support. RHEL also dynamically links againstHarfbuzzandFreetypefor font rendering and management. This change does not apply to Red Hat build of OpenJDK builds for Microsoft Windows. -
The
src.zipfile includes the source for all the JAR libraries shipped with Red Hat build of OpenJDK. - Red Hat build of OpenJDK on RHEL uses system-wide timezone data files as a source for timezone information.
- Red Hat build of OpenJDK on RHEL uses system-wide CA certificates.
- Red Hat build of OpenJDK on Microsoft Windows includes the latest available timezone data from RHEL.
- Red Hat build of OpenJDK on Microsoft Windows uses the latest available CA certificate from RHEL.
Chapter 3. Red Hat build of OpenJDK 8.0.352 release notes Copy linkLink copied to clipboard!
The latest Red Hat build of OpenJDK 8 release might include new features. Additionally, the latest release might enhance, deprecate, or remove features that originated from previous Red Hat build of OpenJDK 8 releases.
For all the other changes and security fixes, see OpenJDK 8u352 Released.
Red Hat build of OpenJDK new features and enhancements
Review the following release notes to understand new features and feature enhancements that the Red Hat build of OpenJDK 8.0.352 release provides:
Reference object changes and configurations
From Red Hat build of OpenJDK 8.0.352 onward, you can no longer clone Reference objects.
If you attempt to clone a reference object, the java.lang.ref.Reference::clone method throws a CloneNotSupportedException message.
If you want to copy an existing Reference object, you must use the constructor of the appropriate Reference subclass to create a Reference object. This ensures the new Reference object contains referent and reference queues that are identical to the target Reference object.
For the Red Hat build of OpenJDK 8.0.352 release, the java.lang.ref.Reference.enqueue method changes behavior. When application code calls the java.lang.ref.Reference.enqueue method, this method clears the Referent before it adds the object to the registered queue. After the Reference object is enqueued, code that expects the return value of java.lang.ref.Reference.get() to be non-null might throw a NullPointerException.
The Red Hat build of OpenJDK 8.0.352 release changes the behavior of PhantomReference objects, so that they are cleared before being enqueued in any associated queues. This is the same as the existing behaviour for SoftReference and WeakReference objects.
Links
- See JDK-8201793 (JDK Bug System).
- See JDK-8175797 (JDK Bug System).
- See JDK-8071507 (JDK Bug System).
-
For more information about these
Referenceobject configurations, see Red Hat build of OpenJDK 8 Maintenance Release 4 (Red Hat Customer Portal)
Enablement of TLSv1.3 for client roles
Red Hat build of OpenJDK 8.0.352 enables TLSv1.3 protocol support for client roles, by default.
From the Red Hat build of OpenJDK 8.0.272 release, TLSv1.3 protocol support for server roles was already enabled.
If you create a TLS client role in Red Hat build of OpenJDK 8.0.352 while keeping the default protocol setting, and TLSv1.3 is used in the connection established with the TLS server, compatibility issues might affect your application. The following list details common compatibility issues:
-
TLSv1.3 uses a half-duplex-close policy whereas TLSv1.2 uses a full-duplex-close policy. You can use the
jdk.tls.acknowledgeCloseNotifysystem property to configure TLSv1.3 to use a full-duplex-close policy. For more information about this configuration, see JDK-8208526. -
TLSv1.3 does not support certain algorithms in the
signature_algorithms_certextension. For example, if you only allow Digital Signature Algorithm (DSA) for signature verification in your configurations, you will experience incompatibility issues when using the TLSv1.3 protocol. - A client that uses DSA certificates for client authentication causes compatibility issues with TLSv1.3.
- TLSv1.3 contains different cipher suites than earlier TLS protocol versions. For an application with hard-coded unsupported cipher suites, compatibility issues might exist.
- TLSV1.3 session resumption and key update behaviors differ from earlier TLS protocol versions. An application that relies on handshake details from these protocols might experience compatibility issues.
If you need to disable TLSv1.3 protocol support for your client role, complete one of the following actions:
-
Obtain a TLSv1.2 context with
SSLContext.getInstance("TLSv1.2"). -
Set the
jdk.tls.client.protocolssystem property to TLSv1.2. For example,-Djdk.tls.client.protocols="TLSv1.2". -
Set an earlier TLS protocol for the Red Hat build of OpenJDK
javax.net.sslAPI, as demonstrated with the following examples:
sslSocket.setEnabledProtocols(new String[] {"TLSv1.2"});
sslEngine.setEnabledProtocols(new String[] {"TLSv1.2"});
SSLParameters params = sslSocket.getSSLParameters();
params.setProtocols(new String[] {"TLSv1.2"});
slsSocket.setSSLParameters(params);
Links
- See JDK-8208526 (JDK Bug System).
jdk.httpserver.maxConnections system property
Red Hat build of OpenJDK 8.0.352 adds a new system property, jdk.httpserver.maxConnections, that fixes a security issue where no connection limits were specified for the HttpServer service, which can cause accepted connections and established connections to remain open indefinitely.
You can use the jdk.httpserver.maxConnections system property to change the HttpServer service’s behavior in the following ways:
-
Set a value of
0or a negative value, such as-1, to specify no connection limit for the service. -
Set a positive value, such as
1, to cause the service to check any accepted connection against the current count of established connections. If the maximum number of established connections for the service is reached, the service immediately closes the accepted connection.
Support for Microsoft Visual Studio 2017
From the Red Hat build of OpenJDK 8.0.352 release onward, the Windows JDK and JRE 1.8.0 releases are compiled with the Visual Studio 2017 toolchain, because this toolchain is currently supported by Microsoft.
The Red Hat Customer Portal no longer uses the Alternative toolchain label to mark binaries that were compiled with the Visual Studio 2017 toolchain.
For customers that rely on the Microsoft Visual Studio 2010 toolchain for compiling binaries, which Red Hat labels as the legacy toolchain, Red Hat continues to support these binaries. On the Software Details page, on the Red Hat Customer Portal, a file compiled with this toolchain contains a vs10 entry in its file name. For example, openjdk-1.8.0.345/java-1.8.0-openjdk-1.8.0.352-2.b08.redhat.windows.vs10.x86_64.zip.
Microsoft no longer supports the Visual Studio 2010 toolchain, so Red Hat can only provide limited support for any products related to this toolchain.
Chapter 4. Advisories related to this release Copy linkLink copied to clipboard!
The following advisories have been issued to document bugfixes and CVE fixes included in this release:
Revised on 2024-05-10 09:05:50 UTC