Even though not owing to get there until finally March 2021, Java Improvement Kit (JDK) 16 is commencing to consider condition, starting up with enabling C++ 14 language functions in JDK C++ source code.

JDK 16 will be the reference implementation of the version of typical Java set to observe JDK fifteen, which is owing on September fifteen. The 6-month launch cadence for typical Java would have JDK 16 arriving following March.

As of July 29, three proposals had been targeted to JDK 16:

  • Enablement of C++ 14 language functions, to let the use of C++ 14 capabilities in JDK C++ source code and give unique steering about which of these functions may well be utilized in HotSpot VM code. As a result of JDK fifteen, language functions utilized by C++ code in the JDK have been constrained to the C++ninety eight/03 language specifications. With JDK 11, the source code was up-to-date to guidance making with newer versions of the C++ typical. This includes staying able to create with latest versions of compilers that guidance C++ 11/14 language functions. This proposal does not suggest any style or usage alterations for C++ code that is utilized exterior of HotSpot. But to consider advantage of C++ language functions, some create-time alterations are expected, based on the system compiler.
  • Migration of OpenJDK source code repositories from Mercurial to Git. Driving this energy are strengths in version command procedure metadata sizing and accessible applications and hosting.
  • Migration to GitHub, relevant to the Mercurial-to-Git migration, with JDK 16 source code repositories to be on the popular code-sharing web page.

Early-obtain builds of JDK 16 for Linux, Home windows, and MacOS can be located at jdk.java.net. Like JDK fifteen, JDK 16 will be a limited-expression launch, supported for 6 months. JDK 17, owing in September 2021, will be a extensive-expression guidance (LTS) launch that will acquire many a long time of guidance. The recent LTS launch, JDK 11, was launched in September 2018.

Copyright © 2020 IDG Communications, Inc.