August 12, 2020


Born to play

JDK 16 begins to take shape

Though not owing to arrive until March 2021, Java Enhancement Package (JDK) sixteen is starting...

Though not owing to arrive until March 2021, Java Enhancement Package (JDK) sixteen is starting to consider shape, starting off with enabling C++ fourteen language features in JDK C++ resource code.

JDK sixteen will be the reference implementation of the edition of regular Java established to follow JDK fifteen, which is owing on September fifteen. The six-thirty day period launch cadence for regular Java would have JDK sixteen arriving subsequent March.

As of July 29, three proposals had been qualified to JDK sixteen:

  • Enablement of C++ fourteen language features, to permit the use of C++ fourteen abilities in JDK C++ resource code and give unique steerage about which of these features could be utilized in HotSpot VM code. Via JDK fifteen, language features utilized by C++ code in the JDK have been limited to the C++98/03 language criteria. With JDK eleven, the resource code was up to date to guidance constructing with newer variations of the C++ regular. This consists of becoming able to make with new variations of compilers that guidance C++ eleven/fourteen language features. This proposal does not suggest any design and style or utilization variations for C++ code that is utilized outdoors of HotSpot. But to consider gain of C++ language features, some make-time variations are required, dependent on the system compiler.
  • Migration of OpenJDK resource code repositories from Mercurial to Git. Driving this effort are advantages in edition manage program metadata sizing and accessible tools and internet hosting.
  • Migration to GitHub, relevant to the Mercurial-to-Git migration, with JDK sixteen resource code repositories to be on the popular code-sharing internet site.

Early-access builds of JDK sixteen for Linux, Home windows, and MacOS can be found at Like JDK fifteen, JDK sixteen will be a short-expression launch, supported for six months. JDK seventeen, owing in September 2021, will be a lengthy-expression guidance (LTS) launch that will acquire numerous yrs of guidance. The recent LTS launch, JDK eleven, was introduced in September 2018.

Copyright © 2020 IDG Communications, Inc.