News and views from members of the Java team at Oracle
JDK 22 will be released on March 19th 2024 but it's forked today (Dec 7th 2023) and so its feature set is final: It finalizes unnamed patterns and variables, G1 region pinning, the FFM API, and multi-source-file programs. On top of that it previews/incubates the simpler main method, string templates, the vector and class-file APIs, structured concurrency and scoped values, statements before this(...) and super(...), and stream gatherers.