"WARNING: Illegal reflective access by org.infinispan.marshall.exts.SecurityActions" when deploying applications on JBoss EAP 7.2.0

Solution Verified - Updated -


Warnings are displayed during the process of migrating applications to JBoss EAP 7.2/JDK 11 from JBoss EAP 7.1.5/JDK 8. The servers are set up on the JBoss Developer Studio, however, when starting JBoss the below warnings are displayed:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.infinispan.marshall.exts.SecurityActions (jar:file:/C:/path/to/jboss-eap-7.2/modules/system/layers/base/org/infinispan/main/infinispan-core-9.3.3.Final-redhat-00001.jar!/) to field java.util.DoubleSummaryStatistics.count
WARNING: Please consider reporting this to the maintainers of org.infinispan.marshall.exts.SecurityActions
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

Is this an issue with the upgrade of JBoss? Is anything else required?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2.0
  • JDK
    • 11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In