An illegal reflective access operation has occurred

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

An illegal reflective access operation has occurred

Jeff Huang
I got the following warning from console when install Bouncy Castle provider
runtime.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider$CoreSecureRandom
(file:/projects/build/dependant-libs/bc-fips-1.0.1.jar) to method
sun.security.jca.Providers.getSunProvider()
WARNING: Please consider reporting this to the maintainers of
org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider$CoreSecureRandom
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

Thanks!

Jeff.



--
Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html

Reply | Threaded
Open this post in threaded view
|

Re: An illegal reflective access operation has occurred

Jeff Huang
I got the following warning from console when install Bouncy Castle provider
runtime.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider$CoreSecureRandom
(file:/projects/build/dependant-libs/bc-fips-1.0.1.jar) to method
sun.security.jca.Providers.getSunProvider()
WARNING: Please consider reporting this to the maintainers of
org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider$CoreSecureRandom
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

Thanks!

Jeff.

On Sun, Sep 1, 2019 at 2:40 PM Jeff Huang <[hidden email]> wrote:
I got the following warning from console when install Bouncy Castle provider
runtime.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider$CoreSecureRandom
(file:/projects/build/dependant-libs/bc-fips-1.0.1.jar) to method
sun.security.jca.Providers.getSunProvider()
WARNING: Please consider reporting this to the maintainers of
org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider$CoreSecureRandom
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

Thanks!

Jeff.



--
Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html

Reply | Threaded
Open this post in threaded view
|

Re: An illegal reflective access operation has occurred

Jeff Huang
In reply to this post by Jeff Huang
Reply | Threaded
Open this post in threaded view
|

Re: An illegal reflective access operation has occurred

Jeff Huang
Could any one explain this exception?

Thanks!

Jeff.

On Mon, Sep 2, 2019 at 7:08 PM Jeff Huang <[hidden email]> wrote:
I am using Java 11.

Jeff.



--
Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html