Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3988

Domain prints WARNING with JDK10+ during start-up (XNIO illegal reflective access)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 6.0.0.Beta1
    • None
    • Management
    • None

    Description

      Domain prints WARNING with JDK10+ during start-up (XNIO illegal reflective access)

      [mkopecky@dhcp-10-40-4-197 bin]$ export JAVA_OPTS="--add-modules=java.se"
      [mkopecky@dhcp-10-40-4-197 bin]$ ./domain.sh 
      JAVA_OPTS already set in environment; overriding default settings with values: --add-modules=java.se
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /home/mkopecky/playground/wf/wfly.29/wfly.29
      
        JAVA: /home/mkopecky/base/jdk11_ea21_2018_08_01/bin/java
      
        JAVA_OPTS: -server --add-modules=java.se
      
      =========================================================================
      
      10:37:11,438 INFO  [org.jboss.modules] (main) JBoss Modules version 1.8.5.Final
      10:37:11,659 INFO  [org.jboss.threads] (main) JBoss Threads version 2.3.2.Final
      ...
      [Host Controller] WARNING: An illegal reflective access operation has occurred
      [Host Controller] WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2 (jar:file:/home/mkopecky/playground/wf/wfly.29/wfly.29/modules/system/layers/base/org/jboss/xnio/nio/main/xnio-nio-3.6.3.Final.jar!/) to constructor sun.nio.ch.EPollSelectorProvider()
      [Host Controller] WARNING: Please consider reporting this to the maintainers of org.xnio.nio.NioXnio$2
      [Host Controller] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      [Host Controller] WARNING: All illegal access operations will be denied in a future release
      

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: