Seeing "WARNING: An illegal reflective access operation has occurred" by SSLDefinitions message in JBoss EAP 7 log
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
Issue
I am getting warnings regarding elytron:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/opt/deploy/jboss/jbosseap7/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-6.0.21.Final-redhat-00001.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS()
WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions
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
Resolution
This warning is harmless and can be safely ignored.
The log can be suppressed with the JVM option --illegal-access=deny.
This log no longer occurs in EAP 7.4 Update 14+ This content is not included.JBEAP-18717
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.