Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19521

Illegal access warning when running XP manager on JDK9+/RHEL

XMLWordPrintable

      When running XP manager 1.0.0.GA-CR1 (OR generated by a build from core master revision and tool master revision) on RHEL7 using JDK 11 (OpenJDK/Oracle) following warnings appear in log:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.jboss.modules.JDKSpecific$2 (file:/home/hudson/users-tmp/jkasik/xp-illegal/jboss-eap-xp-manager.jar) to method java.lang.ClassLoader.getPackage(java.lang.String)
      WARNING: Please consider reporting this to the maintainers of org.jboss.modules.JDKSpecific$2
      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
      

              kkhan1@redhat.com Kabir Khan
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: