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 JDK 25-compatible syntax exists and uses notes where the original API required incubator modules or changed before finalization.