Chapter 3. OpenJDK 8.0.372 release notes

The latest OpenJDK 8 release might include new features. Additionally, the latest release might enhance, deprecate, or remove features that originated from previous OpenJDK 8 releases.

Note

For all the other changes and security fixes, see OpenJDK 8u372 Released.

OpenJDK new features and enhancements

Review the following release notes to understand new features and feature enhancements that the OpenJDK 8.0.372 release provides:

Detection of control group (cgroup) v2 host systems in Linux containers

The OpenJDK 8.0.372 release includes an update to the HotSpot runtime code and the core libraries code in the JDK. This update enables the detection of cgroup v2 host systems when running OpenJDK within a Linux container.

Previously, from OpenJDK release 8u202 onward, the container detection code recognized cgroup v1 (legacy) host Linux systems only. Now, from OpenJDK 8.0.372 onward, OpenJDK detects both versions of the underlying cgroups pseudo file-system and applies corresponding container limits to the OpenJDK runtime.

Without this enhancement, when running on a cgroup v2 Linux host system, OpenJDK would have used the underlying hosts' resource limits instead of applying container resource limits.

See JDK-8305562 (JDK Bug System).

Configuration of third port for remote Java Management Extensions (JMX)

In release OpenJDK 8.0.372, you can configure a local access port for remote JMX connections by setting the com.sun.management.jmxremote.local.port property.

In previous releases,OpenJDK selected this local port at random, which could lead to port collisions. The com.sun.management.jmxremote.local.port property works in the same way as the existing properties for configuring the remote access port (com.sun.management.jmxremote.port) and the Remote Method Invocation (RMI) port (com.sun.management.jmxremote.rmi.port).

See JDK-8234484 (JDK Bug System).

Certigna (Dhimyotis) root certificate authority (CA) certificate added

In release OpenJDK 8.0.372, the cacerts truststore includes the Certigna (Dhimyotis) root certificate:

  • Name: Certigna (Dhimyotis)
  • Alias name: certignarootca
  • Distinguished name: CN=Certigna, O=Dhimyotis, C=FR

See JDK-8245654 (JDK Bug System).

Enhanced Swing platform support

In earlier releases of OpenJDK, HTML object tags rendered embedded in Swing HTML components. With release OpenJDK 8.0.372, rendering only occurs if you set the new system property swing.html.object to true. By default, the swing.html.object property is set to false.

JDK bug system reference ID: JDK-8296832.