Java 21 / JDK 21 (LTS) GA

Java 21 / JDK 21 has been officially GA. This version is the long-term support version (LTS) after JDK 17. Oracle will provide technical support and updates for at least eight years .

Formal stable features

Preview phase functionality

Incubation stage function


430: String Templates (Preview)
431: Sequenced Collections
439: Generational ZGC
440: Record Patterns
441: Pattern Matching for switch
442: Foreign Function & Memory API (Third Preview)
443: Unnamed Patterns and Variables (Preview)
444: Virtual Threads
445: Unnamed Classes and Instance Main Methods (Preview)
446: Scoped Values (Preview)
448: Vector API (Sixth Incubator)
449: Deprecate the Windows 32-bit x86 Port for Removal
451: Prepare to Disallow the Dynamic Loading of Agents
452: Key Encapsulation Mechanism API
453: Structured Concurrency (Preview)

Download: https://jdk.java.net/21/
Release notes: https://jdk.java.net/21/release-notes
Features: https://openjdk.org/projects/jdk/21/

Guess you like

Origin www.oschina.net/news/258730/jdk-21-lts-ga