JDK 15 Is Live!

September 15, 2020 | 2 minute read
Text Size 100%:

JDK 15 is live! Download it from the Java SE Downloads page. See the JDK 15 Release Notes for detailed information about this release. The following are some of the important additions and updates in Java SE 15 and JDK 15:

  • Text Blocks, first previewed in Java SE 13, is a permanent feature in this release and can be used without enabling preview features.

    Text blocks are multiline string literals that avoid the need for most escape sequences, automatically format the string in a predictable way, and give the developer control over the format when desired. See JEP 378: Text Blocks and Programmer's Guide to Text Blocks.

  • The Z Garbage Collector (ZGC) is ready to use in production and no longer an experimental feature. Enable ZGC by using the command-line option -XX:+UseZGC. See JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production).

  • Hidden classes are classes that cannot be used directly by the bytecode of other classes. Hidden classes are intended for use by frameworks that generate classes at run time and use them indirectly through reflection. See JEP 371: Hidden Classes.

The following are preview or incubator JDK 15 features:

In addition, the following are security-related updates:

See Significant Changes in JDK 15 Release for additional information.

Raymond Gallardo

Previous Post

Java in 2020

Guest Author | 3 min read

Next Post

JDK 15.0.1, 11.0.9, 8u271, and 7u281 Have Been Released!

Clifford Wayne | 1 min read