Monday, April 6, 2020

What's new in java 14 ?

Hello,
In this article, I present some new features of JAVA version 14 released on March 20, 2020.
During the penultimate week of March Oracle announced that the release date of version 24 of JAVA will be March 20, 2020.
this new version of course will bring several modifications and several new features in terms of JAVA development.

  • JEP 305: Pattern Matching for instanceof. This feature adds pattern matching for the instanceof statement to Java.
  • JEP 343: Packaging Tool packaging tool allows developers to package Java applications to distribute them in formats suitable for each platform.
  • JEP 349: It is a feature that simplifies access to JFR (JDK Flight Recorder) data for multiple tools and applications and will encourage the emergence of new innovations.
  • JEP 345: This is a feature that improves the overall performance of the garbage collector on systems with non-uniform memory access.
  • JEP 352: Non-Volatile Mapped Byte Buffers, this is a function that allows you to add non-volatile memory support to the JDK.
  • JEP 358: Help with NullPointerExceptions (Helpful NullPointerExceptions), it is a functionality which improves the management of NullPointerExceptions by describing precisely which variable was null.
  • JEP 359: it is a functionality which makes it possible to give a compact syntax to declare classes containing immutable data with respect to surface copies.
  • JEP 361: This functionality simplifies development and was one of the prerequisites for the pattern matching functionality (JEP 305) integrated into this version with a preliminary status.
  • JEP 364: it is a feature added to be able and to facilitate to develop or test on macOS and Windows.
  • JEP 368: Text Blocks. To take into account comments made after the preliminary release of text blocks in Java 13.
  • JEP 370: it is an API used to access direct memory, it allows Java programs to safely and efficiently access direct memory located beyond Java memory space (Off-Heap).
you can consult the article in french, Nouveautés de JAVA 14

1 comment: