[jboss-jira] [JBoss JIRA] (WFCORE-3885) CLI script prints WARNING with JDK10+ if CLI connects to server

David Lloyd (JIRA) issues at jboss.org
Thu May 24 10:32:00 EDT 2018


    [ https://issues.jboss.org/browse/WFCORE-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581748#comment-13581748 ] 

David Lloyd commented on WFCORE-3885:
-------------------------------------

This is not a blocker since the class still operates correctly with {{--illegal-access=deny}} given.  However the warning is upsetting so XNIO-322 was created.

> CLI script prints WARNING with JDK10+ if CLI connects to server
> ---------------------------------------------------------------
>
>                 Key: WFCORE-3885
>                 URL: https://issues.jboss.org/browse/WFCORE-3885
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Scripts
>            Reporter: Marek Kopecký
>            Assignee: Jean-Francois Denise
>            Priority: Blocker
>
> CLI prints WARNING with JDK10+ if CLI connects to server
> {noformat}
> [mkopecky at dhcp-10-40-5-52 bin]$ java -version
> java version "10" 2018-03-20
> Java(TM) SE Runtime Environment 18.3 (build 10+46)
> Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
> [mkopecky at dhcp-10-40-5-52 bin]$ ./jboss-cli.sh "echo test"
> test
> [mkopecky at dhcp-10-40-5-52 bin]$ ./jboss-cli.sh -c "echo test"
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2 (jar:file:/home/mkopecky/playground/eap/7.2.0.CD13.1/jboss-eap-7.2/modules/system/layers/base/org/jboss/xnio/nio/main/xnio-nio-3.6.3.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
> test
> [mkopecky at dhcp-10-40-5-52 bin]$ 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list