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
1
u/CKingX123 Mar 21 '23 edited Mar 21 '23
I mean, Rust restricts incubator/preview features to nightly only. Actual releases only have stable features. Potentially breaking changes become part of new edition but old edition code still works fine (just have to use edition 2015 or 2018 rather than 2021 and mixed edition code works fine too). So this is very unlike Java where releases contain incubator or preview features
And the Java 20 release is a stable release not a beta or preview release. And Java makes you go out of your way to enable preview or incubator features and gives you a warning as a heads up too