My Oracle Support Banner

What does the Message "WARNING: An Illegal Reflective Access Operation Has Occurred" Indicate and can it be Fixed? (Doc ID 2850487.1)

Last updated on MAY 03, 2022

Applies to:

Oracle WebLogic Server - Version 14.1.1.0.0 and later
Information in this document applies to any platform.

Goal

 After installing or upgrading WebLogic 14.x to use JDK 11 warning messages are logged similar to this,

 

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by <CLASS> (file:<PATHTOFILE>.jar) to method <METHOD>()
WARNING: Please consider reporting this to the maintainers of <CLASS>
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

 

What should be done about these warnings?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.