Chapter 4. Red Hat build of OpenJDK features The latest Red Hat build of OpenJDK 11 release might include new features. Additionally, this 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.14 Released . 4.1. New features and enhancements Review the following release notes to understand new features and feature enhancements that have been included with the Red Hat build of OpenJDK 11.0.14 release: Archive file system provider For Red Hat build of OpenJDK 11.0.14, the archive file system provider rejects existing archive files with file name elements that include a dot (.) or two dots (..). If you attempt to use existing archive files that include these named elements as system files, and you invoke the java.nio.file.FileSystems.newFileSystem(... ) method, the method throw a ZipException error message on your command-line interface. For more information about the change to the archive file system provider, see JDK-8271517 . IANA Time Zone Database The Internet Assigned Numbers Authority (IANA) updated its Time Zone Database to version 2021c. Red Hat OpenJDK date and time libraries depends on IANA's Time Zone Database for determining local time for various regions around the world. Note The 2021b release of the Time Zone Database updated time zone rules that existed before 1970. For more information about the 2021b release, see 2021b release of tz code and data available on the IANA website. For more information about IANA's Time Zone Database, see Time Zone Database on the IANA website. For more information about IANA's 2021c Time Zone Database release, see JDK-8274857 . OpenJDK's identification of Microsoft Windows versions Before the Red Hat build of OpenJDK 11, the os.name system property that is retrieved from System.getProperty() and the HotSpot error logs would report Windows 10.0 on Microsoft Windows 11 and Windows Server 2019 on Microsoft Windows Server 2022. Red Hat build of OpenJDK now identifies the correct version on these systems. New option for the GC.heap_dump diagnostic command Red Hat build of OpenJDK 11.0.14 adds the gz integer option to the GC.heap_dump diagnostic command of the jcmd utility. You can use this option to enable gzip compression and to set a compression level when creating a heap dump. Compression level values range from 1 through 9, with the value of 1 as the fastest setting and the value of 9 as the slowest setting. For more information about the gz integer option, see JDK-8250554 . Microsoft Windows version Red Hat build of OpenJDK that runs on either Microsoft Windows 11 or Microsoft Windows Server 2022 now displays the correct Microsoft Windows version in the os.name value of the System.getProperty() system property and any HotSpot error logs. Before the Red Hat build of OpenJDK 11.0.14 release, this behavior was not possible if you updated your Microsoft Windows operating system or Microsoft Windows Server to a later version. System properties for disabling TLS extensions You can use two new system properties to disable Transport Layer Security (TLS) extensions for the TLS protocol. These system properties are detailed as follows: jdk.tls.client.disableExtensions that disables TLS extensions used by TLS clients. jdk.tls.server.disableExtensions that disables TLS extensions used by TLS servers. A disabled TLS extension does not form part of a TLS handshake process. You must not disable mandatory TLS extensions, because these TLS extensions are essential for establishing a TLS handshake. Both system properties ignore duplicated, misspelled, unknown, and unsupported TLS extension names. Extension names must conform to the Internet Assigned Numbers Authority (IANA) specification. For more information about these new system properties, see JDK-8260310 . For more information about the TLS extensions that comply with the IANA specification, see Transport Layer Security (TLS) Extensions on the IANA website. SunPKCS11 provider configuration attributes The SunPKCS11 provider includes new configuration attributes that enhance the usage of native resources, such as key objects. The SunPKCS11 provider must use native resources for it to work with native PKCS11 libraries. Table 4.1. New SunPKCS11 provider configuration attributes Attribute Type destroyTokenAfterLogout Boolean cleaner.shortInterval Integer cleaner.longInterval Integer For more information about the new SunPKCS11 provider configuration attributes, see JDK-8272907 . 4.2. Deprecated and removed features Review the following release notes to understand pre-existing features that have been either deprecated or removed in the Red Hat build of OpenJDK 11.0.14 release: Google GlobalSign root certificate Red Hat build of OpenJDK 11.0.14 removes the following root certificate from the cacerts keystore: Alias name globalsignr2ca [jdk] Distinguished name CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R2 For more information about this removed Google GlobalSign root certificate, see JDK-8272535 .

Commands: