r/java • • Mar 22 '22

Java 18 released!

https://mail.openjdk.java.net/pipermail/jdk-dev/2022-March/006458.html
396 Upvotes

133 comments sorted by

View all comments

Show parent comments

-13

u/Joram2 Mar 22 '22

new features? There are no new features. This is an empty release. Java 19 should have something good.

4

u/dpash Mar 22 '22

Of the nine JEPs in this release I'm interested by JEP-413 and JEP-418.

I already use JEP-420 in my code.

1

u/Joram2 Mar 22 '22

If you enjoy it great, but 420 is a preview feature that most devs can't realistically use. It's basically the same as 406 in Java 17 with very minor tweaks... And it's just nicer syntax...

1

u/mauganra_it Mar 22 '22

Unless major footguns are found, the final version will be pretty similar. It's very ready for non-production code and prototypes.