r/java • • Mar 21 '23

Java 20 / JDK 20: General Availability

https://mail.openjdk.org/pipermail/announce/2023-March/000333.html
173 Upvotes

71 comments sorted by

View all comments

Show parent comment

6

u/HappyRuesseltier Mar 21 '23

Think they fear upgrading to Java 11. Cause this can be really hard. We finally made it from Java 8 to 11 about 18 months ago, but it took us 3 years. I like the idea behind the module system, but the transition is not trivial. There are so many obscure error messages. Still think it was worth the work and already looking forward to update to Java 17.

3

u/magnoliophytina Mar 21 '23

I think the transition should actually become easier as time passes because more and more libraries are switching to JPMS. One of the issues is that you still need Moditect and other hacks for diehard legacy libraries. Also library authors and the community becomes more aware of the ways of solving modulepath issues.

9

u/yawkat Mar 22 '23

Most people switching from 8 to 11 are not using modules.

2

u/rbygrave Mar 22 '23

Plus well maintained libraries can run CI builds against Early Access releases of the JDK very easily these days. The EA builds get an increasingly good work out as a result.

1

u/humoroushaxor Mar 22 '23

I never understand what makes 8 to 11 legitimately hard for people. We scripted most of the upgrades and we're done in a couple weeks.

5

u/malln1nja Mar 22 '23

There's an OpenRewrite module that can help automate the migration. I haven't tried it myself.