Skip to content

Latest commit

 

History

History
764 lines (504 loc) · 45.7 KB

JavaFeatures.md

File metadata and controls

764 lines (504 loc) · 45.7 KB

Java Features

Timeline of all JDK enhancements with respective JEP links. The entries are grouped by target JDK version and sorted by their number ascending.

This page was co-generated by ChatGPT 4.0

Java JDK 22

Java JDK 21 (LTS)

Java JDK 20

Java JDK 19

Java JDK 18

Java JDK 17 (LTS)

Java JDK 16

Java JDK 15

Java JDK 14

Java JDK 13

  • JEP 350: Dynamic CDS Archives

    • Extends the existing Class-Data Sharing ("CDS") feature to allow dynamic archiving of classes at the end of Java application execution. This aims to improve the startup time for short-running Java applications.
  • JEP 351: ZGC: Uncommit Unused Memory

    • Enhances the Z Garbage Collector to return unused heap memory to the operating system, aiming for improved resource utilization and better co-existence with other processes.
  • JEP 353: Reimplement the Legacy Socket API

    • Provides a new implementation for the legacy java.net.Socket and java.net.ServerSocket APIs, replacing the underlying native implementation for better maintainability.
  • JEP 354: Switch Expressions (Preview)

    • Introduces a preview of the new switch expression, a more concise and safe alternative to the existing switch statement.
  • JEP 355: Text Blocks (Preview)

    • Introduces a preview of text blocks to simplify the task of writing Java programs that deal with multi-line string literals, while also improving their readability and maintainability.

Java JDK 12

Java JDK 11 (LTS)

Java JDK 10

Java JDK 9

Java JDK 8

There are also a number of JEPs introduced in Java JDK 8 and it's iterations 8u20, 8u40 and 8u60, but they are not included in this list, as this project only aims to cover changes from Java 9 and up.

Refer to JEP Index for the rest of the entries including pending, drafts and rejected.