0 Replies Latest reply on Oct 12, 2017 3:09 PM by N L

    Illegal reflective access operation in Wildfly 10.1 with Java 9

    N L Newbie

      I'm running Wildfly 10.1 with Java 9. When starting the server I get the following in the error output stream:

       

      WARNING: An illegal reflective access operation has occurred

      WARNING: Illegal reflective access by org.jboss.modules.ClassLoaderLocalLoader$1 (file:/D:/wildfly-10.1.0.Final/jboss-modules.jar) to method java.lang.ClassLoader.getPackage(java.lang.String)

      WARNING: Please consider reporting this to the maintainers of org.jboss.modules.ClassLoaderLocalLoader$1

      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

       

      Probably because of the access changes in Java 9. What am I supposed to do about this?

      Can provide additional info upon request.