[
https://issues.jboss.org/browse/WFCORE-3988?page=com.atlassian.jira.plugi...
]
Sultan Zhantemirov updated WFCORE-3988:
---------------------------------------
Comment: was deleted
(was: I would also like to let you know that there is the same issue while starting
eap7x/one-command-build.manu by Manu framework.
{{WARNING: Illegal reflective access by
com.google.inject.internal.cglib.core.$ReflectUtils$2
(file:/home/szhantem/acceptance-jdk10-ocb/manu-eap72-acceptance-last/manu-eap-1.1.109/lib/guice-3.0.jar)
to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)}}
Fedora 27, openjdk version "10.0.2" 2018-07-17.
)
Domain prints WARNING with JDK10+ during start-up (XNIO illegal
reflective access)
----------------------------------------------------------------------------------
Key: WFCORE-3988
URL:
https://issues.jboss.org/browse/WFCORE-3988
Project: WildFly Core
Issue Type: Bug
Components: Management
Reporter: Marek Kopecký
Assignee: Jeff Mesnil
Priority: Blocker
Domain prints WARNING with JDK10+ during start-up (XNIO illegal reflective access)
{noformat}
[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
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)