[jboss-jira] [JBoss JIRA] (WFLY-11046) Quickstarts JDK11 illegal reflective access warnings in wildfly-maven-plugin

James Perkins (Jira) issues at jboss.org
Tue Dec 11 12:17:02 EST 2018


     [ https://issues.jboss.org/browse/WFLY-11046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated WFLY-11046:
---------------------------------
    Fix Version/s: 15.0.0.Final


> Quickstarts JDK11 illegal reflective access warnings in wildfly-maven-plugin
> ----------------------------------------------------------------------------
>
>                 Key: WFLY-11046
>                 URL: https://issues.jboss.org/browse/WFLY-11046
>             Project: WildFly
>          Issue Type: Bug
>          Components: Quickstarts
>            Reporter: Jan Blizňák
>            Assignee: Eduardo Martins
>            Priority: Critical
>             Fix For: 15.0.0.Beta1, 15.0.0.Final
>
>
> Currently when any quickstart using wildfly-maven-plugin (eg jaxws-retail) is executed using JDK11, illegal reflective access warning are printed:
> {code:java}
> [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
> {code}
> 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).



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list