Package net.jrodolfo.java_evolution.java20


package net.jrodolfo.java_evolution.java20
Examples for features introduced or refined in Java 20.

Java 20 was mostly a refinement release. Several important features were still moving through preview or incubator cycles: record patterns, pattern matching for switch, virtual threads, scoped values, structured concurrency, the Foreign Function and Memory API, and the Vector API. The package shows runnable examples where the demonstrated syntax remains faithful to the historical preview or incubator form, and uses notes where the original API required special modules or changed materially before finalization.