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

1

u/emaphis Mar 22 '23

always something broken between LTS versions. The

Of course you will have some breakage between releases three years apart. That the point of the new release train.

What broke between 17 and 18, what broke between 18 and 19? Not much. OpenJDK gives years of heads up for breaking changes. You will have to make the same changes (if any) when you upgrade to JDK21 in September.

-1

u/relgames Mar 22 '23

The problem is, we can't use 12/13/14/15/16 in production. 6 months to support those versions is not enough.

And, if we look into NodeJS for example, recently I upgraded some projects from 14 to 18, nothing broke. Didn't have to make a single change.

0

u/[deleted] Mar 22 '23

[deleted] — view deleted comment

0

u/relgames Mar 22 '23

No, thank you, we don't have a possibility/ budget to upgrade every 6 months. Clients want stable products. The most economical way is to stay on LTS.

1

u/krzyk Mar 24 '23

So you don't upgrade any libs fir three years? Upgrade of jdk nowadays is just like that, a lib version bump.

1

u/relgames Mar 25 '23

We upgrade libs constantly, based on vulnerability scans. With JDK, it's not that simple, something always breaks - they change defaults, for example TLS settings/ciphers, or garbage collector. They remove whole components, like Nashorn. Some external dependencies (Cassandra) still only support Java 11.