1 Reply Latest reply on Sep 11, 2018 3:44 PM by Martin Choma

    Wildfly 14 on JDK 10: illegal reflective access

    Thorsten Moeller Newbie

      Hi

       

      We saw illegal reflective access warnings using Wildfly and Java 9/10 for different classes during the last couple of months. We know this is related to Java's module system. The most recent occurrence is with Wildfly 14 and Java 10:

       

      WARNING: An illegal reflective access operation has occurred

      WARNING: Illegal reflective access by org.jboss.as.server.deployment.reflect.ClassReflectionIndex (jar:file:/Users/.../wildfly-14.0.0.Final/modules/system/layers/base/org/jboss/as/server/main/wildfly-server-6.0.1.Final.jar!/) to method java.lang.Object.finalize()

      WARNING: Please consider reporting this to the maintainers of org.jboss.as.server.deployment.reflect.ClassReflectionIndex

       

      Should we file a bug, or is it reasonable to assume that you guys will notice such warnings anyway and fix them?

       

      Thanks.