r/java • • Jan 14 '23

Mockito 5.0.0 released, requires Java 11

164 Upvotes

13 comments sorted by

View all comments

72

u/Enough-Ad-5528 Jan 15 '23

Should have baselined on Java 17 instead of 11. If you can run on 11, you can almost certainly run on 17 with very little additional effort. Spring 6 took the right decision here.

-1

u/vips7L Jan 15 '23

Agreed. Time to enter the real world.

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.

1

u/magnoliophytina Jan 16 '23

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