Java 21 Release reference https://openjdk.org/projects/jdk/21/ Implemented features JEP 431: Sequence collections Examples JEP 440: Record patterns Examples JEP 441: Pattern matching for switch Examples JEP 444: Virtual threads Examples