Raymond Augé created MSCRIPTING-3:
-------------------------------------
Summary: Illegal reflective access warnings when using groovy
engine on Java 11
Key: MSCRIPTING-3
URL: https://issues.apache.org/jira/browse/MSCRIPTING-3
Project: Maven Scripting
Issue Type: Improvement
Reporter: Raymond Augé
When run in a build using Java 11 (didn't test java 9,10) I get the warning:
{code:java}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1
(file:[snip]/.m2/repository/org/codehaus/groovy/groovy/2.5.5/groovy-2.5.5.jar)
to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of
org.codehaus.groovy.vmplugin.v7.Java7$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
{code}
To be fair this is due to https://issues.apache.org/jira/browse/GROOVY-8339
So _this_ issue is really a placeholder that at some point may require some
work against a new version of groovy.
Of if you think it's really just _blame upstream_ case, then this can be closed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)