Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to powermock-api-mockito2 #5558

Closed
pbludov opened this issue Feb 27, 2018 · 2 comments
Closed

Switch to powermock-api-mockito2 #5558

pbludov opened this issue Feb 27, 2018 · 2 comments

Comments

@pbludov
Copy link
Member

pbludov commented Feb 27, 2018

To support JDK9, we need to upgrade PowerMock to version 2.0.
Unfortunately, the support for Mockito 1.x has been removed from PowerMock 2.0.
See powermock/powermock#726

This means that we must switch to Mockito 2.0 API.

@pbludov
Copy link
Member Author

pbludov commented Feb 27, 2018

A guide to the migration:
https://asolntsev.github.io/en/2016/10/11/mockito-2.1/

@rnveach
Copy link
Member

rnveach commented Mar 7, 2018

Fix was merged

@rnveach rnveach closed this as completed Mar 7, 2018
@rnveach rnveach added this to the 8.9 milestone Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants