JDK 16: The new features in Java 16

Due March 2021, the next Java upgrade targets primitive classes, sealed classes, records classes, a vector API, and ports for Windows on ARM64 and Alpine Linux

JDK 16: The new features in Java 16
Marina_Skoropadskaya / Getty Images

Java Development Kit (JDK) 16 has added warnings for value-based classes and a second preview of sealed classes as planned capabilities, joining a host of other features ranging from a foreign linker API to pattern matching to concurrent thread-stack processing for garbage collection.

JDK 16 will be the reference implementation of the version of standard Java set to follow JDK 15, which arrived September 15. A proposed release schedule has JDK 16 reaching rampdown phases on December 10 and January 14, 2021, followed by release candidates arriving February 4 and February 18, 2021. The production release is slated to be published March 16, 2021.

Seventeen proposals officially target JDK 16 as of December 10, 2020. The new capabilities coming to Java 16 include:

Early-access builds of JDK 16 for Linux, Windows, and MacOS can be found at jdk.java.net. Like JDK 15, JDK 16 will be a short-term release, supported for six months. JDK 17, due in September 2021, will be a long-term support (LTS) release that will receive several years of support. The current LTS release, JDK 11, was released in September 2018.

Related:

Copyright © 2020 IDG Communications, Inc.