Java Cup
Inside Java

News and views from members of the Java team at Oracle

Java 22 Unpacking - Inside Java Newscast #59

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.

Show Notes

Unnamed patterns and variables:

G1 region pinning:

Foreign function & memory API:

Multi-source-file programs:

Previews and incubations:

Simpler main:

String templates:

Vector API:

Statements before this(…) and super(…):

Class-file API:

Structured concurrency and scoped values:

Stream gatherers:

Additional Resources

The Inside Java Newscast is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.