Upcoming Features and Release Schedule of JDK 16
The article outlines JDK 16’s upcoming release timeline, highlights its new features such as sealed classes, strong encapsulation, foreign linker API, vector API, Unix‑domain sockets, and jpackage, and notes that Java 17 will follow as the next LTS version, inviting readers to share their expectations.
Yes, you read correctly—JDK 16 is about to be released.
After many developers were still on Java 8, the next short‑term release, JDK 16, follows the same six‑month support model as Java 15, with Oracle providing only a half‑year of support.
According to the release schedule, JDK 16 enters the ramp‑down phase on 10 December 2020 and 14 January 2021, the release‑candidate phase from 4 February to 18 February 2021, and the final GA release is expected on 16 March 2021.
The previewed features include:
Sealed classes and interfaces, allowing authors to restrict which other classes or interfaces may extend or implement them.
Strong encapsulation of internal JDK APIs by default, with the option to relax encapsulation for critical internal APIs such as sun.misc.Unsafe .
Foreign linker API (incubator) for static‑typed, pure‑Java access to native code.
Moving ZGC thread‑stack processing from safepoints to the concurrent phase.
Elastic metaspace to return unused class metadata memory to the OS more quickly.
Enabling C++ 14 language features in the HotSpot VM source.
Incubator vector API for high‑performance vector computations on supported CPU architectures.
Porting the JDK to Windows/AArch64 platforms.
Porting the JDK to Alpine Linux and other musl‑based Linux distributions.
Record classes as transparent carriers for immutable data.
Unix‑domain socket channels added to java.nio.channels , supporting inter‑process communication via file‑system paths.
External memory access API (incubator) for safe operations on off‑heap memory such as native, persistent, or managed heap memory.
Pattern matching for instanceof , simplifying type checks and casts.
jpackage tool for packaging self‑contained Java applications into native installers (msi, exe, pkg, dmg, deb, rpm).
Migration of the OpenJDK source repository from Mercurial to Git (JEP 369).
Following JDK 16, Java 17 is slated for a September 2021 release as the next long‑term support (LTS) version.
The article invites readers to share their expectations for the new Java release in the comments.
Java Architect Essentials
Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.