Jan Blizňák created WFLY-11048:
----------------------------------
Summary: Quickstarts JDK11 illegal reflective access warnings in
wildfly-maven-plugin
Key: WFLY-11048
URL:
https://issues.jboss.org/browse/WFLY-11048
Project: WildFly
Issue Type: Bug
Components: Quickstarts
Reporter: Jan Blizňák
Assignee: Eduardo Martins
Priority: Critical
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.5.0#75005)