JDK 16 begins to take shape

Though not thanks to get there till March 2021, Java Growth Kit (JDK) 16 is starting to just take form, commencing with enabling C++ fourteen language attributes in JDK C++ source code.

JDK 16 will be the reference implementation of the edition of typical Java established to abide by JDK 15, which is thanks on September 15. The six-month launch cadence for typical Java would have JDK 16 arriving upcoming March.

As of July 29, a few proposals ended up focused to JDK 16:

  • Enablement of C++ fourteen language attributes, to allow the use of C++ fourteen capabilities in JDK C++ source code and give specific assistance about which of these attributes may be applied in HotSpot VM code. By way of JDK 15, language attributes applied by C++ code in the JDK have been limited to the C++98/03 language specifications. With JDK 11, the source code was up to date to help creating with newer versions of the C++ typical. This involves being in a position to construct with recent versions of compilers that help C++ 11/fourteen language attributes. This proposal does not suggest any type or use variations for C++ code that is applied outdoors of HotSpot. But to just take edge of C++ language attributes, some construct-time variations are expected, relying on the platform compiler.
  • Migration of OpenJDK source code repositories from Mercurial to Git. Driving this effort and hard work are positive aspects in edition management program metadata dimensions and available resources and hosting.
  • Migration to GitHub, related to the Mercurial-to-Git migration, with JDK 16 source code repositories to be on the common code-sharing web-site.

Early-access builds of JDK 16 for Linux, Home windows, and MacOS can be discovered at jdk.java.web. Like JDK 15, JDK 16 will be a limited-term launch, supported for six months. JDK 17, thanks in September 2021, will be a lengthy-term help (LTS) launch that will acquire many many years of help. The present LTS launch, JDK 11, was released in September 2018.

Copyright © 2020 IDG Communications, Inc.