Java 16 Features highlights 💡

Release date: 16-Mar-2021

1 JEP338 Vector API (Incubator)

2 JEP395 Records

3 JEP394 Pattern Matching for instanceof

4 JEP397 Sealed Classes (2nd Preview)

5 JEP347 Enabling C++ 14 Language features

6 JEP387 Elastic Metaspace

7 JEP389: Foreign Linker API (Incubator)

8 JEP390 Warnings for Value-Based Classes

9 JEP392 Packaging Tool

10 JEP393 Foreign-Memory Access API (Third Incubator)

Note: These are just highlights and it’s always recommended to refer official release notes

https://docs.oracle.com/en/java/javase/16/docs/api/index.html

Source : Oracle docs

--

--

Release Date :15-Sep-2020

  1. JEP384- Records
  2. JEP360-Sealed Classes
  3. JEP371-Hidden Classes
  4. JEP375-Pattern Matching Type Checks
  5. JEP383-Foreign Memory API
  6. JEP378-Text Blocks
  7. JEP372-Remove the Nashorn JavaScript Engine
  8. JEP374-Disable and Deprecate Biased Locking
  9. JEP379-Shenandoah: A Low-Pause-Time Garbage Collector
  10. JEP385-Deprecate RMI Activation for Removal
  11. JEP381-Remove the Solaris and SPARC Ports
  12. JEP373-Reimplement the Legacy DatagramSocket API

Note: These are just highlights and it’s always recommended to refer below official release notes https://docs.oracle.com/en/java/javase/15/docs/api/index.html

--

--

Java 12 features highlights 💡

Release date 19-Mar-2019

  1. JEP 325: Switch expressions
  2. JEP 305: Pattern matching for instance of
  3. JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
  4. JEP 230: Microbenchmark Suite
  5. JEP 341: Default CDS Archives
  6. JEP 346 : Promptly Return Unused Committed Memory from G1
  7. JEP 344 : Abortable Mixed Collections for G1
  8. JEP 334 : JVM constants API
  9. JEP 340 :One AArch64 Port, Not Two

Note: These are just highlights and it’s always recommended to refer below official release notes

https://docs.oracle.com/en/java/javase/12/docs/api/index.html

--

--

Java 11 features highlights

Official Link : https://docs.oracle.com/en/java/javase/11/docs/api/index.html

Released on :25-Sep-2018

  1. Type Inference for Lambda Parameters
  2. String::lines
  3. New Characters, Scripts, and Blocks
  4. Standard HTTP Client
  5. .toArray(IntFunction) Default Method
  6. Epsilon Garbage Collector
  7. Low-overhead Heap Profiling
  8. Improved KeyStore Mechanisms
  9. Z Garbage Collector
  10. Dynamic Allocation of Compiler Threads
  11. New File Methods

--

--