[ 
https://issues.apache.org/jira/browse/MSCRIPTING-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MSCRIPTING-3.
-----------------------------------
      Assignee: Robert Scholte
    Resolution: Cannot Reproduce

Okay, just will add one more thing: the plugin itself doesn't come with any 
script engine: the user needs to add it as a dependency. In such case, it is 
the developers responsibility to keep the script engine up to date (e.g. 
groovy-jsr223)

> 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é
>            Assignee: Robert Scholte
>            Priority: Minor
>
> 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
(v8.3.4#803005)

Reply via email to