Java Development Kit (JDK) 21 officially arrived September 19, 2023. Next up is JDK 22, or Java 22, due March 19, 2024. A range of capabilities from structured concurrency to computed constants and a class-file API could make it into this future release.
JDK 22 is set to be published as a short-term release by Oracle with six months of support, although other organizations could offer longer support if they choose. Although the OpenJDK webpage for JDK 22 doesn’t lists any features yet, obvious candidates include features previewed in JDK 21, such as structured concurrency for concurrent programming. Another possibility is a feature that was initially slotted for JDK 21 but was taken out: the Shenandoah garbage collector, a low-pause time collector. Early-access builds of JDK 22 are available at jdk.java.net. Other candidates for possible inclusion in JDK 22 include:
To read this article in full, please click here
InfoWorld
