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

Illegal reflective access operation #2262

Closed
lwasyl opened this issue Apr 8, 2021 · 1 comment
Closed

Illegal reflective access operation #2262

lwasyl opened this issue Apr 8, 2021 · 1 comment

Comments

@lwasyl
Copy link

lwasyl commented Apr 8, 2021

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.mockito.internal.util.reflection.ReflectionMemberAccessor to constructor java.lang.Void()
WARNING: Please consider reporting this to the maintainers of org.mockito.internal.util.reflection.ReflectionMemberAccessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

I don't know exactly what call causes it. This is with Mockito 3.8.0, Mockito-Kotlin 2.2.0, and

openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)
@TimvdLippe
Copy link
Contributor

Duplicate of #1325

@TimvdLippe TimvdLippe marked this as a duplicate of #1325 Apr 8, 2021
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