[jboss-jira] [JBoss JIRA] (WFCORE-3988) Domain prints WARNING with JDK10+ during start-up (XNIO illegal reflective access)

Marek Kopecký (JIRA) issues at jboss.org
Wed Aug 1 04:40:00 EDT 2018


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

Marek Kopecký updated WFCORE-3988:
----------------------------------
    Description: 
Domain prints WARNING with JDK10+ during start-up (XNIO illegal reflective access)

{noformat}
[mkopecky at dhcp-10-40-4-197 bin]$ export JAVA_OPTS="--add-modules=java.se"
[mkopecky at 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}

  was:Domain prints WARNING with JDK10+ during start-up (XNIO illegal reflective access)



> 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 at dhcp-10-40-4-197 bin]$ export JAVA_OPTS="--add-modules=java.se"
> [mkopecky at 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)



More information about the jboss-jira mailing list