-
Bug
-
Resolution: Done
-
Major
-
None
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).
- clones
-
WFLY-11046 Quickstarts JDK11 illegal reflective access warnings in wildfly-maven-plugin
- Closed
- is blocked by
-
WFMP-111 Using the execute-commands goal results in Maven hanging due to a CLI shutdown hook
- Resolved
-
WFMP-99 Upgrade WildFly Core to 6.0.2.Final
- Resolved
- is caused by
-
XNIO-322 Reflection warning on JDK9+ during selector probe
- Resolved
- is related to
-
WFCORE-3885 XNIO prints WARNING with JDK10+ if CLI connects to server
- Resolved