ctranxuan created JCLOUDS-1542:
----------------------------------
Summary: Java 11 warns of illegal reflective access
Key: JCLOUDS-1542
URL: https://issues.apache.org/jira/browse/JCLOUDS-1542
Project: jclouds
Issue Type: Improvement
Components: jclouds-core
Affects Versions: 2.2.0
Reporter: ctranxuan
When using JClouds with Java 11, some warning are displayed by the JVM about
illegal reflective access:
{quote}WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jclouds.reflect.Reflection2$1
(file:/.../jclouds-core.jar) to constructor
java.lang.String(char[],int,int,java.lang.Void)
WARNING: Please consider reporting this to the maintainers of
org.jclouds.reflect.Reflection2$1
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
{quote}
JClouds works but as stated, these illegal reflective accesses may be denied in
upper Java versions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)