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

Mockito.mock() not mocking the Class in Java 17 #3323

Open
dilli-babu-s opened this issue Apr 24, 2024 · 1 comment
Open

Mockito.mock() not mocking the Class in Java 17 #3323

dilli-babu-s opened this issue Apr 24, 2024 · 1 comment

Comments

@dilli-babu-s
Copy link

Hey, Mockito Community.

Mockito.mock() is not working as expected in Java 17. The class which I can mock using Java 8 is not mocked when I upgraded the java version to Java 17.

Can this be solved?

@jkim323
Copy link

jkim323 commented Apr 30, 2024

Hi, can you perhaps provide a bit more information? Maybe a code snippet of where you are seeing the issue might help as well as error messages too. Thanks!

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

No branches or pull requests

2 participants