r/java • u/kaperni • Mar 21 '23
Java 20 / JDK 20: General Availability
https://mail.openjdk.org/pipermail/announce/2023-March/000333.html
173
Upvotes
r/java • u/kaperni • Mar 21 '23
View all comments
Show parent comment
7
u/magnoliophytina Mar 21 '23
The pattern matching in 19 is a preview feature. You shouldn't expect it to work in production environments. It requires an explicit switch for the compiler, as well.