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

Java 18 is still six months away but is already taking shape, with four feature proposals anticipated for it so far, the latest being a third incubation of the vector API.

The OpenJDK page for Java Development Kit (JDK) 18 lists the vector API, code snippets, and the UTF-8 charset as proposed to target JDK 18, as of September 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.

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