Return to site

JAVA: What We Know about Java 16 and 17 So Far

· java

Oracle recently released version 15 of the Java programming language and virtual machine.
In the new OpenJDK release cadence, this means that work has already shifted to version 16, which is due to be released in March 2021.
New features include procedural upgrades, new APIs and tooling, operating system ports, strongly encapsulating JDK internals by default, and more.

Procedural upgrades

―Migrate from Mercurial to Git (JEP 357)
―Migrate to GitHub (JEP 369)
―Enable C++14 Language Features (JEP 347)

New APIs and tooling

―Vector API (Incubator) (JEP 338)
―Foreign Linker API (Incubator) (JEP 389)
―Foreign-Memory Access API (Third Incubator) (JEP 393)
―Unix-Domain Socket Channels (JEP 380)
―Packaging Tool (JEP 392)

Minor improvements to the VM

―Elastic Metaspace (JEP 387)
―ZGC: Concurrent Thread-Stack Processing (JEP 376):

New ports of OpenJDK

―Alpine Linux Port (JEP 386)
―Windows/AArch64 Port (JEP 388)

Next iteration of project Amber features

―Pattern Matching for instanceof (JEP 394)
―Records (JEP 395)
―Sealed Classes (Second Preview) (JEP 397) (tbc)

Other

―Strongly Encapsulate JDK Internals by Default (JEP 396)