Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Java 18 will be released in March 2022. It is not an LTS release and will be obsoleted at the release of Java 19 in September 2022.

Status: Rampdown Phase OneTwo

Page last updated: 2021-12-23, EA 29.

Schedule:

  • 2021-12-09 Rampdown Phase One

  • 2022-01-20 Rampdown Phase Two

  • 2022-02-10 Initial Release Candidate

  • 2022-02-24 Final Release Candidate

  • 2022-03-22 General Availability

Resources:

Selected Changes Targeted to Java 18

  • JEP 400: UTF-8 by Default

  • JEP 408: Simple Web Server

  • JEP 413: Code Snippets in Java API Documentation

  • JEP 418: Internet-Address Resolution SPI

  • JEP 420: Pattern Matching for switch (Second Preview)

  • JEP 421: Deprecate Finalization for Removal

  • JDK-8256425: Obsolete Biased Locking

  • JDK-8275145: file.encoding system property has an incorrect value on Windows

    • “The initialization of file.encoding system property on non macOS platforms has been reverted to align with the behavior on/before JDK 11. This has been an issue especially on Windows where the system and user's locales are not the same.“

    • Implication: this issue is present in Java 17.

...