Skip to content

ZOOKEEPER-5039: Upgrade Mockito to 5.23.0 for JDK25#2376

Open
PDavid wants to merge 1 commit intoapache:masterfrom
PDavid:ZOOKEEPER-5039-mockito-upgrade
Open

ZOOKEEPER-5039: Upgrade Mockito to 5.23.0 for JDK25#2376
PDavid wants to merge 1 commit intoapache:masterfrom
PDavid:ZOOKEEPER-5039-mockito-upgrade

Conversation

@PDavid
Copy link
Copy Markdown
Contributor

@PDavid PDavid commented Apr 23, 2026

As of Mockito 5.x, the mockito-inline mock-maker became the default, so mockito-inline as a separate artifact is no longer needed.

As of Mockito 5.x, the mockito-inline mock-maker became the default, so mockito-inline as a separate artifact is no longer needed.
@PDavid
Copy link
Copy Markdown
Contributor Author

PDavid commented Apr 23, 2026

OK, Mockito 5 requires Java 11 or higher. It will not work with Java 8.
Mockito 4 supported Java 8 but that does not support Java 25.

Do we have to support Java 8 on ZooKeeper master branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant