JDK 14 is Java SE 14, JSR 389, generally available on 17 March 2020. Switch expressions become a permanent language feature. Records, pattern matching for instanceof, and text blocks are still previews. Helpful NullPointerExceptions are on by default.
How to read the status
Final. The change shipped in this release as a permanent part of that release.
Preview. It can be tried with --enable-preview. A preview is not a permanent language or API guarantee.
Incubator. An incubator API is not a supported standard API. It can change or be removed.
Language
Switch Expressions (Standard)
JEP 361 · Final · Language
A switch expression yields a value, uses arrow labels, and does not fall through those labels.
Preview in Java 12 (JEP 325) and Java 13 (JEP 354).
versions5Java17Features.javaCumulative Java 12–17 example · Requires Java 17Final forms only: switch expressions from Java 14, text blocks from Java 15, records and instanceof patterns from Java 16, and sealed classes from Java 17. This is not a Java 12 preview program. Pattern matching for switch was still a preview in Java 17 and is not used.
The cumulative example uses the final switch-expression syntax from this release together with later records, text blocks, and sealed classes. It is a Java 17 file.