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

Jean-Francois Denise (JIRA) issues at jboss.org
Thu May 24 11:48:01 EDT 2018


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

Jean-Francois Denise edited comment on WFCORE-3885 at 5/24/18 11:48 AM:
------------------------------------------------------------------------

[~mkopecky], I used JDK 10, no more warning than the Xnio one. Aesh relies on sun.misc.Signal that is still accessible in JDK 10, and there are no replacement API yet. So this one is the only warning impacting the CLI. CLI running with --illegal-access=deny worked just fine.


was (Author: jdenise):
[~mkopecky], I used JDK 10, no more warning. Aesh relies on sun.misc.Signal that is still accessible in JDK 10, and there are no replacement API yet. So this one is the only warning impacting the CLI. CLI running with --illegal-access=deny worked just fine.

> 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