Java 15

Java 15 will be released in September 2020. It is not an LTS release and will be obsoleted at the release of Java 16 in March 2021.

Preview features included in this release are quite likely to be included in Java 17, the next LTS release.

Status: General Availability

Page last updated: 2020-09-15, EA 36

Resources

Selected Changes Targeted to Java 15

  • JEP 360: Sealed Classes (preview)
  • JEP 371: Hidden Classes (relevant to bytecode generation frameworks)
  • JEP 372: Remove the Nashorn JavaScript Engine
  • JEP 374: Disable and Deprecate Biased Locking (could conceivably have performance implications)
  • JEP 375: Pattern Matching for instanceof (Second Preview)
  • JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production) (NB: does not make it the standard GC, just moves it out of the "experimental" category and simplifies its selection)
  • JEP 378: Text Blocks (Standard)
  • JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector (Production) (NB: does not make it the standard GC, just moves it out of the "experimental" category and simplifies its selection)
  • JEP 381: Remove the Solaris and SPARC Ports
  • JEP 384: Records (Second Preview)
  • JDK-8237219: Disable native SunEC implementation by default (OSJ-319)