Chapter 4. Red Hat build of OpenJDK features The latest Red Hat build of OpenJDK 11 release might include new features. Additionally, the latest release might enhance, deprecate, or remove features that originated from Red Hat build of OpenJDK 11 releases. Note For all the other changes and security fixes, see OpenJDK 11.0.16 Released . 4.1. Red Hat build of OpenJDK new features and enhancements Review the following release notes to understand new features and feature enhancements that are included with the Red Hat build of OpenJDK 11.0.16 release: Vector throws ClassNotFoundException for a missing class of an element When the class of an element of a Vector isn't found, java.util.Vector now correctly reports the ClassNotFoundException that occurs during deserialization using java.io.ObjectInputStream.GetField.get(name, object) . Previously, a StreamCorruptedException error was displayed, which didn't provide any information about the missing class. See, JDK-8277157 (JDK Bug System) HTTPS channel binding support for Java Generic Security Services (GSS) or Kerberos The Red Hat build of OpenJDK 11.0.16 release supports TLS channel binding tokens when Negotiate selects Kerberos authentication over HTTPS through javax.net.HttpsURLConnection . Channel binding tokens enhance security by mitigating some man-in-the-middle (MITM) attacks. When a server receives details regarding the binding between a TLS server certificate and authentication credentials for a client, the server detects if a MITM attack has fooled the client and can shut down the connection. The feature is controlled through the jdk.https.negotiate.cbt system property, which is described fully in Oracle documentation . See, JDK-8285240 (JDK Bug System) Incorrect handling of quoted arguments in ProcessBuilder Before the Red Hat build of OpenJDK 11.0.16 release, arguments to ProcessBuilder on Windows that started with a double quotation mark and ended with a backslash followed by a double quotation mark passed to a command incorrectly, causing the command to fail. For example, the argument "C:\\Program Files\" , was processed as having extra double quotation marks at the end. The Red Hat build of OpenJDK 11.0.16 release resolves this issue by restoring the previously available behavior, in which the backslash (\) before the final double quotation mark is not treated specially. See, JDK-8283137 (JDK Bug System) Default JDK compressor closes when IOException is encountered The DeflaterOutputStream.close() and GZIPOutputStream.finish() methods have been modified to close out the associated default JDK compressor before propagating a Throwable up the stack. The ZIPOutputStream.closeEntry() method has been modified to close out the associated default JDK compressor before propagating an IOException , not of type ZipException , up the stack. See, JDK-8278386 (JDK Bug System) New system property to disable Windows Alternate Data Stream support in java.io.File The Windows implementation of java.io.File allows access to NTFS Alternate Data Streams (ADS) by default. These streams are structured in the format filename:streamname . The Red Hat build of OpenJDK 11.0.16 release adds a system property that allows you to disable ADS support in java.io.File . To disable ADS support in java.io.File , set the jdk.io.File.enableADS system property to false . Important Disabling ADS support in java.io.File results in stricter path checking that prevents the use of special devices such as NUL: . See, JDK-8285660 (JDK Bug System) Revised on 2024-05-09 16:47:01 UTC

Commands: