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 by org.bouncycastle.jcajce.provider.drbg.DRBG to constructor sun.security.provider.Sun() #929

Closed
valentinajemuovic opened this issue Apr 14, 2021 · 2 comments

Comments

@valentinajemuovic
Copy link

I get the following warning:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.bouncycastle.jcajce.provider.drbg.DRBG (file:/C:/Users/Name.Surname/.m2/repository/org/bouncycastle/bcprov-jdk15on/1/57/org/bouncycastle/bcprov-jdk15on/1.57/bcprov-jdk15on-1.57.jar) to constructor sun.security.provider.Sun()
WARNING: Please consider reporting this to the maintainers of org.bouncycastle.jcajce.provider.drbg.DRBG
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

This appears to be a similar error as reported in #510

@dghgit
Copy link
Contributor

dghgit commented Apr 17, 2021

Please upgrade the BC provider jar.

@valentinajemuovic
Copy link
Author

Thank you, it works now.

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