Java Development Kit (JDK) 14 already in a general-availability stage, and released on March 2020. JDK 14 is not a long-term support (LTS) release, but following the six-month release cadence is a feature release of Java.
JDK 14 brings 16 new features, with some of them are interesting features that we hope will be available soon in standard release (like the helpful
NullPointerException and Java
Blogs in this series:
What's New in Java 1417 March 2020 saw the release of JDK 14. This article will summarize several JEP released in JDK 14, with some examples to show case those features.
Tutorials in this series:
Java 14 - Pattern Matching for instanceof (JEP 305)Before JDK 14, instanceof operator only used to tests whether the given object is of the given type. With JEP 305, the instanceof operator is improved in Java 14 to tests the parameter and assigns it to a binding variable with proper type.
Java 14 - Creating Self-Contained Java Applications With Packaging Tool (JEP 343)A new tool, jpackage is added in Java 14 for packaging self-contained Java applications. The idea behind this tool is to streamline the installation (or distribution) on a native platform. This tool is still an incubating feature.
Java 14 - JFR Event Streaming (JEP 349)JEP 349 is enhancements for existing JFR to expose it's data for continuous monitoring. This allowing the streaming of JFR data in real-time, without the need to dump the recorded events to storage and parse it later.
Java 14 - Helpful NullPointerExceptions (JEP 358)This feature is aims to help developer to understanding what causing NullPointerException by showing precisely which variable was null and causing error.
Java 14 - Records Preview Feature (JEP 359)JEP 359 enhance the Java language to compact the class declaration syntax with record, to reduce low-value, repetitive, boilerplate codes.
Java 11 Features and ChangesIn this series we will look at the features and changes in Java 11, and how it's benefit or affecting us as Java Developer.