[
https://issues.jboss.org/browse/WFLY-10031?page=com.atlassian.jira.plugin...
]
Marek Kopecký commented on WFLY-10031:
--------------------------------------
Btw, warnings are still printed also in standalone and domain (see JBEAP-14102):
{noformat}
[mkopecky@localhost bin]$ ./standalone.sh
=========================================================================
JBoss Bootstrap Environment
...
=========================================================================
10:34:00,092 INFO [org.jboss.modules] (main) JBoss Modules version 1.7.0.Final
10:34:00,362 INFO [org.jboss.msc] (main) JBoss MSC version 1.3.2.Final
10:34:00,369 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.2.Final
10:34:00,465 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full
13.0.0.Alpha1-SNAPSHOT (WildFly Core 5.0.0.Alpha2-SNAPSHOT) starting
10:34:01,366 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/core-service=management/management-interface=http-interface' is deprecated, and
may be removed in a future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
10:34:01,383 INFO [org.wildfly.security] (ServerService Thread Pool -- 21) ELY00001:
WildFly Elytron version 1.2.4.Final
10:34:01,399 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread
Pool -- 16) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/subsystem=undertow/server=default-server/https-listener=https' is deprecated,
and may be removed in a future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
10:34:01,439 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
10:34:01,452 INFO [org.xnio] (MSC service thread 1-6) XNIO version 3.6.2.Final
10:34:01,458 INFO [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version
3.6.2.Final
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.xnio.nio.NioXnio$2
(jar:file:/home/mkopecky/git/base/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base/org/jboss/xnio/nio/main/xnio-nio-3.6.2.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
10:34:01,491 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016:
RESTEasy version 3.5.0.Final
...
{noformat}
Scripts throws "illegal reflective access" warning on JDK9
----------------------------------------------------------
Key: WFLY-10031
URL:
https://issues.jboss.org/browse/WFLY-10031
Project: WildFly
Issue Type: Bug
Components: Scripts, Security
Reporter: Marek Kopecký
Assignee: James Perkins
Priority: Blocker
*Description of the issue:*
Scripts throws "illegal reflective access" warning on JDK9/10/11.
*How reproducible:*
Always with JDK9, 10 and 11
*Steps to Reproduce:*
* ./jboss-cli.sh "echo test"
* ./add-user.sh -u test4 -p Test123* -s
* ./appclient.sh -v
* ./wsconsume.sh
* ./wsprovide.sh
* ./domain.sh
* ./standalone.sh
*Actual results:*
{noformat}
[hudson@rhel7-large-9887 bin]$ java --version
java 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
[hudson@rhel7-large-9887 bin]$
{noformat}
{noformat}
[hudson@rhel7-large-9887 bin]$ ./jboss-cli.sh "echo test"
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.logmanager.LogManager$2
(jar:file:/home/hudson/hudson_workspace/workspace/early-testing-scripts-unix/9774dccf/wildfly/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.9.Final.jar!/)
to constructor java.util.logging.Level$KnownLevel(java.util.logging.Level)
WARNING: Please consider reporting this to the maintainers of
org.jboss.logmanager.LogManager$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
[hudson@rhel7-large-9887 bin]$
{noformat}
{noformat}
[hudson@rhel7-large-9887 bin]$ ./add-user.sh -u test4 -p Test123* -s
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.logmanager.LogManager$2
(jar:file:/home/hudson/hudson_workspace/workspace/early-testing-scripts-unix/9774dccf/wildfly/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.9.Final.jar!/)
to constructor java.util.logging.Level$KnownLevel(java.util.logging.Level)
WARNING: Please consider reporting this to the maintainers of
org.jboss.logmanager.LogManager$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
[hudson@rhel7-large-9887 bin]$ cat ../standalone/configuration/mgmt-users.properties |
tail -n 1
test4=a95aa9d159b7afe0cc9d3795061551ad
[hudson@rhel7-large-9887 bin]$
{noformat}
{noformat}
[hudson@rhel7-large-9887 bin]$ ./appclient.sh -v
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.logmanager.LogManager$2
(jar:file:/home/hudson/hudson_workspace/workspace/early-testing-scripts-unix/9774dccf/wildfly/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.9.Final.jar!/)
to constructor java.util.logging.Level$KnownLevel(java.util.logging.Level)
WARNING: Please consider reporting this to the maintainers of
org.jboss.logmanager.LogManager$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
06:11:52,205 INFO [org.jboss.modules] (main) JBoss Modules version 1.7.0.Final
WildFly Full 13.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Final)
[hudson@rhel7-large-9887 bin]$
{noformat}
*Expected results:*
No warnings
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)