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

Quickstarts JDK11 illegal reflective access warnings in wildfly-maven-plugin

    XMLWordPrintable

Details

    Description

      Currently when any quickstart using wildfly-maven-plugin (eg jaxws-retail) is executed using JDK11, illegal reflective access warning are printed:

      [INFO] --- wildfly-maven-plugin:1.2.1.Final:deploy (default-cli) @ jaxws-retail-service ---
      Sep 20, 2018 10:10:32 AM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 5.0.0.Final
      Sep 20, 2018 10:10:32 AM org.xnio.Xnio <clinit>
      INFO: XNIO version 3.5.1.Final
      Sep 20, 2018 10:10:32 AM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.5.1.Final
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2 (file:/home/jbliznak/.m2/repository/org/jboss/xnio/xnio-nio/3.5.1.Final/xnio-nio-3.5.1.Final.jar) to constructor sun.nio.ch.EPollSelectorProvider()
      WARNING: Please consider reporting this to the maintainers of org.xnio.nio.NioXnio$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
      Sep 20, 2018 10:10:32 AM org.wildfly.security.Version <clinit>
      INFO: ELY00001: WildFly Elytron version 1.1.0.Final
      

      Fix and update is probably expected on plugin side, you can see the version of Xnio is rather old, WF 14 is using 3.6.5 https://github.com/wildfly/wildfly-core/blob/6.0.1.Final/pom.xml#L188 (with possible fix XNIO-322, also check WFCORE-3885).

      Attachments

        Issue Links

          Activity

            People

              emartins@redhat.com Eduardo Martins
              jbliznak@redhat.com Jan Blizňák
              Sultan Zhantemirov Sultan Zhantemirov (Inactive)
              Sultan Zhantemirov Sultan Zhantemirov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: