Member-only story

5 Must-Know Features coming up with Java 21

Ali Zeynalli
6 min readDec 3, 2023

--

Photo by Markus Spiske on Unsplash

As the most of backend java developers might know, JDK version 21 is coming out in September 2023 and it will be most likely new LTS version after version 17. The list of features to be released is already known and there is possibility to already download the early version from here. According to the openjdk community here is the full list of features that are awaiting us in a new version:
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)

--

--

Ali Zeynalli
Ali Zeynalli

Written by Ali Zeynalli

IT-Architect | BMW Group | M.Sc. Technical University of Berlin

No responses yet