JDK 22 feature set is finalized as of December 7, 2023, with release scheduled for March 2024. Final features include unnamed patterns and variables (JEP 456), G1 region pinning for lower latency with native code (JEP 423), the Foreign Function & Memory API reaching final status (JEP 454), and multi-source-file program support (JEP 458). Preview features include simpler main methods (JEP 463), string templates second preview (JEP 459), statements before this/super constructors (JEP 447), the Class-File API (JEP 457), structured concurrency and scoped values second previews, and stream gatherers (JEP 461). The vector API continues its seventh incubation with minor improvements.
Sort: