JDK 12 is Java SE 12, JSR 386, generally available on 19 March 2019. There is no new permanent language feature. Switch expressions are a preview. Shenandoah is an experimental collector. G1 gains two latency-oriented changes.
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.
Experimental. The feature shipped so it can be refined. It is not Final, and it is not the default form of that technology.
Language
Switch Expressions (Preview)
JEP 325 · Preview · Language
A switch can be an expression that yields a value. The preview form is disabled unless preview features are enabled.
Preview again in Java 13 (JEP 354). Standard in Java 14 (JEP 361).
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.