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

Sylwester Lachiewicz updated MEJB-112:
--------------------------------------
    Fix Version/s: 3.2.2
                       (was: more-investigation)

> JDK 9 WARNING in Integration Test
> ---------------------------------
>
>                 Key: MEJB-112
>                 URL: https://issues.apache.org/jira/browse/MEJB-112
>             Project: Maven EJB Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.2.2
>
>
> Currently running on JDK 9 (EA+181) give the following warning during running 
> via {{mvn -Prun-its clean verify}}:
> {code}
> [INFO] ..SUCCESS (3.8 s)
> [INFO] Building: mejb-93/pom.xml
> [INFO] run script verify.groovy
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass$3$1 
> (file:/Users/kama/.m2/repository/org/codehaus/groovy/groovy/2.0.1/groovy-2.0.1.jar)
>  to method java.lang.Object.finalize()
> WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass$3$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
> [INFO] ..SUCCESS (4.1 s)
> [INFO] Building: reactor/pom.xml
> [INFO] run script verify.bsh
> [INFO] ..SUCCESS (3.4 s)
> {code}
> Upgrading to maven-invoker-plugin:3.0.1:
> {code}
> [INFO] run post-build script verify.bsh
> [INFO]           MEJB-72/pom.xml .................................. SUCCESS 
> (3.7 s)
> [INFO] Building: mejb-93/pom.xml
> [INFO] run post-build script verify.groovy
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> (file:/Users/kama/.m2/repository/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar)
>  to method java.lang.Object.finalize()
> WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.CachedClass
> 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
> [INFO]           mejb-93/pom.xml .................................. SUCCESS 
> (4.1 s)
> [INFO] Building: reactor/pom.xml
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to