Java Milestones & Main Features

Digital version :

8 (LTS):

  • lambdas
  • streams
  • Optional
  • new Date/Time API

9:

  • modules
  • JShell
  • new HTTP/2 client

10:

  • var local type inference
  • time-based versioning

11 (LTS):

  • HTTP Client (GA)
  • single-file source launch
  • JFR
  • TLS 1.3

12:

  • switch expressions
  • Shenandoah GC

16:

  • records (GA)
  • pattern matching for instanceof

17 (LTS):

  • sealed classes
  • strong encapsulation of JDK internals

21 (LTS):

  • virtual threads
  • pattern matching for switch
  • record patterns, sequenced collections
  • string templates

22:

  • Foreign Function & Memory API
  • multi-file source launch
  • gatherers
  • structured concurrency

23:

  • primitive patterns in instanceof/switch
  • module import declarations
  • ZGC generational by default

24:

  • Class-File API
  • gatherers
  • compact object headers
  • quantum-resistant KEM/DSA
  • virtual-thread sync without pinning

25:

  • scoped values
  • structured concurrency
  • module imports
  • vector API (10th incubator)
  • generational Shenandoah

Handwriten version :

Handwritten Java main features notes, page 1 Handwritten Java main features notes, page 2