Skip to content

sunxien/jdk-features

Repository files navigation

JDK New Features

Experience the new features from JDK 1.8 to the latest version (24 Preview).

  • JDK 8 (LTS) Lambdas, Type Annotations, etc
  • JDK 9 Modules, Private Methods in interfaces, etc
  • JDK 10 Local variable type interface
  • JDK 11 (LTS) Local variables syntax for lambda parameters
  • JDK 12 No new language features
  • JDK 13 No new language features
  • JDK 14 Switch expressions
  • JDK 15 Text blocks
  • JDK 16 Records, Patterns, Local enums and interfaces
  • JDK 17 (LTS) Sealed types, always-strict floating-point semantics
  • JDK 18 JavaDoc snippets
  • JDK 19 No new language features
  • JDK 20 No new language features
  • JDK 21 (LTS) Record patterns, Pattern matching for switch, String templates, Unnamed classes and instance main methods, etc
  • JDK 22 Unnamed variables and patterns
  • JDK 23 (Preview) Markdown documentation comments, Primitive types in patterns, Implicitly declared classes, etc
  • JDK 24 (Preview) Stream gathers, Flexible constructor bodies, Simple source files, etc

Release Notes

https://www.oracle.com/java/technologies/javase/jdk-relnotes-index.html

Undo Points

  1. JDK 9 Modules
  2. JDK 13 CDS
  3. JDK 15 Hidden Classes, Sealed Classes
  4. JDK 16 jpackage tool
  5. JDK 22 Stream Gather

About

Experience the new features from JDK 1.8 to the latest version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages