Posts

Showing posts from September, 2023

Java 21 (LTS)

Java 21 is planned to be released on <mark>19 September 2023</mark> (General Availability). It is a Long term support (LTS) version of Java, prior to Java 21 the LTS version of Java is Java 17. JAva 21 includes following <mark> 15 new features </mark>: - [JEP 430: String Templates (Preview)](https://openjdk.java.net/jeps/430) - [JEP 431: Sequenced Collections](https://openjdk.java.net/jeps/431) - [JEP 439: Generational ZGC](https://openjdk.java.net/jeps/439) - [JEP 440: Record Patterns](https://openjdk.java.net/jeps/440) - [JEP 441: Pattern Matching for switch](https://openjdk.java.net/jeps/441) - [JEP 442: Foreign Function & Memory API (Third Preview)](https://openjdk.java.net/jeps/442) - [JEP 443: Unnamed Patterns and Variables (Preview)](https://openjdk.java.net/jeps/443) - [JEP 444: Virtual Threads](https://openjdk.java.net/jeps/444) - [JEP 445: Unnamed Classes and Instance Main Methods (Preview)](https://openjdk.java.net/jeps/445) - [JEP 446: Scoped V...