Package net.jrodolfo.java_evolution.java23
package net.jrodolfo.java_evolution.java23
Examples and notes for features introduced in Java 23.
Java 23 is mostly a preview and refinement release. It introduced Markdown documentation comments, continued work on pattern matching, module imports, constructor bodies, stream gatherers, the Class-File API, scoped values, and structured concurrency, and included runtime migration topics such as Unsafe memory-access deprecation and ZGC generational mode by default.
-
ClassesClassDescriptionExplains the Class-File API as a Java 23 second preview feature.Explains flexible constructor bodies as a Java 23 second preview feature.Explains Markdown documentation comments, introduced in Java 23.Explains module import declarations as a Java 23 preview feature.Explains primitive types in patterns,
instanceof, andswitchas a Java 23 preview feature.Explains scoped values as a Java 23 third preview feature.Explains Stream Gatherers as a Java 23 second preview feature.Explains structured concurrency as a Java 23 third preview feature.Explains the Java 23 deprecation of memory-access methods insun.misc.Unsafe.Explains ZGC generational mode becoming the default in Java 23.