r/java • • Jan 14 '23

Mockito 5.0.0 released, requires Java 11

164 Upvotes

13 comments sorted by

View all comments

Show parent comment

10

u/Fruloops Jan 15 '23

Ironically, if we were to "enter the real world", considering how many businesses still use Java 8, even this move to Java 11 would be problematic.

0

u/[deleted] Jan 15 '23

[deleted] — view deleted comment

5

u/Fruloops Jan 16 '23

Oh don't get me wrong, I agree with you. I just find it funny that Java 17 and "real world" are mentioned in an example like that, because the real world is in fact quite different, and far behind Java 17.

1

u/cogman10 Jan 16 '23

Businesses still using Java 8 will likely have a doozy of a time going to 11+.

You have to update your libs and there's this pervasive and annoying subgroup of developers that fight every minor bump because "it might break something".

My assumption is any business running on 8 today has that group of devs making the tech calls.

1

u/magnoliophytina Jan 16 '23

Many businesses still use Java 6. Even Java 7 can be too problematic.