What to expect in Java 18

Due in March 2022, Java 18 has drawn proposals to incubate the vector API, preview record patterns and array patterns, and adopt UTF-8 as the default character set.

What to expect in Java 18
Deagreez / Getty

Due in March 2022, Java 18 continues to take shape, with seven feature proposals being considered for it so far. The latest feature proposal is a reimplementation of core reflection with method handles.

The OpenJDK page for Java Development Kit (JDK) 18 lists the reimplementation of core reflection as proposed to target JDK 18 while a simple web server, a vector API, code snippets, and the UTF-8 charset officially target JDK 18 as of October 20.

The JEP (JDK Enhancement Proposal) index of Java technologies also cites the record patterns and array patterns proposal as eyed for JDK 18, although it has not been officially targeted yet. A second incubation of a foreign function and memory API, which was incubated in Java 17, also is eyed for Java 18.

While JDK 17, published September 14, was a long-term support (LTS) release that will receive at least eight years of support from Oracle, JDK 18, expected in March 2022, will be a short-term feature release that is supported for six months. Early-access builds of JDK 18 can be found for Linux, Windows, and MacOS at java.net.

Copyright © 2021 IDG Communications, Inc.

How to choose a low-code development platform