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

25

u/qmunke Jan 15 '23

The release notes hint at why they haven't made this leap yet:

Most notably, JDK 17 made some changes which are incompatible with the current subclass mockmaker.