]
Marek Kopecký updated WFLY-10031:
---------------------------------
Summary: Scripts throws "illegal reflective access" warning on JDK9 (was:
AddUser tool throws "illegal reflective access" warning on JDK9)
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: Darran Lofthouse
Priority: Blocker
*Description of the issue:*
AddUser tool throws "illegal reflective access" warning on JDK9.
*How reproducible:*
Always with JDK9
*Steps to Reproduce:*
# ./add-user.sh -u test4 -p Test123* -s
*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]$ ./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}
*Expected results:*
No warnings