This chapter covers developments in the Java language and platform since the release of Java 17, consisting of future updates that have not yet arrived. New directions in the Java language and platform are governed by JEPs, but those are descriptions of the implementations of specific features. At a higher level, there are several large, long-running projects within OpenJDK that are implementing the major changes that are currently in-flight and will be delivered over the coming years.
We’re going to meet each project in turn and then Java 18. We’re going to start with Project Amber, where we will hear more of the story of pattern matching and why it is such an important feature.
Of the current major projects in OpenJDK, Amber is the closest to completion. It also benefits from being relatively easy to understand in terms of a developer’s day-to-day work. From the project’s charter:
The goal of Project Amber is to explore and incubate smaller, productivity-oriented Java language features ...
—Project Amber, https://openjdk.java.net/projects/amber/