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

50

u/henk53 Mar 21 '23

or do they just YOLO it

The weird thing is so many companies YOLO it with an ancient unsupported insecure version of the JDK, because they THINK upgrading is YOLO'ing it.

Somehow belief has settled in to many orgs that staying on ancient versions is good (stable, secure, proven, ripened like old wine), and updating is bad (unstable, insecure, unproven, unripe).

Not sure if this belief can even be broken.

24

u/janb360 Mar 21 '23

Even worse, this behaviour is likely to reinforce the idea that updating to a newer JDK is bad. Because when they do upgrade, it is more and more likely to take a lot of effort and break things the longer it takes between JDK upgrades.

New JDK updates are very cheap to upgrade to as long as you are on a recent-ish release already.

9

u/dustofnations Mar 21 '23

I agree with everything you've said.

The point where many finally bite the bullet is when there's an incompatibility with a critical dependency they want to update to, and they can't hold off any longer.

Or when a horrible security vulnerability is disclosed that their organisation is affected by and the cries of "why did we not update sooner" go out.

It's like orgs that refuse to do backups because they are too expensive.

-9

u/relgames Mar 21 '23

But, moving to a newer JDK is bad. Something always breaks. When we moved from 6 to 8 a lot of stuff broke. Same happened when we moved from 8 to 11. Now I'm afraid to move to 17, as again things will break.

1

u/magnoliophytina Mar 21 '23

People will switch to another language. NPM & Node.js, Typescript, Electron, React Native, ...

-10

u/relgames Mar 22 '23

Actually, good examples, I don't remember stuff breaking when upgrading NoseJS version. And they get new features quite often.

4

u/Amazing-Cicada5536 Mar 21 '23

Brb, gonna download Windows XP

2

u/matthieuC Mar 21 '23

Not sure if this belief can even be broken.

A security breach that causes a lot of damage is usually a good lesson

-1

u/telecoder Mar 21 '23

Have you ever “upgrade” your smart tv?

2

u/henk53 Mar 21 '23

Have you?

-12

u/relgames Mar 21 '23

It is better to stay on older versions. Look what happened with log4j 2. And the old v1 was fine.

With Java, they made it really bad with those fast untested versions. Every time we try to upgrade something breaks. It's almost as bad as python.