You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/03/01 10:06:00 UTC

[jira] [Closed] (GROOVY-9013) Fix Warning "Illegal reflective access by org.codehaus.groovy.reflection.CachedClass"

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

Paul King closed GROOVY-9013.
-----------------------------
    Resolution: Duplicate

This duplicates GROOVY-8339. You can safely ignore that warning for JDK versions up until JDK 13 (at least). We are working on a fix (but not for the 2.4.x stream that you are using).

> Fix Warning "Illegal reflective access by org.codehaus.groovy.reflection.CachedClass"
> -------------------------------------------------------------------------------------
>
>                 Key: GROOVY-9013
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9013
>             Project: Groovy
>          Issue Type: Improvement
>         Environment: JDK 11.0.2 and SpringBoot 2.1.3-RELEASE
>            Reporter: Venugopal
>            Priority: Major
>
> I'm running JDK11.0.2 with springboot 2.1.3-RELEASE. When I am running the Built Jar with JDK 11.0.2 I am facing the below issue.
> Command: java -jar <jar>
> WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (jar:file:<workspace>/target/<jar>!/BOOT-INF/lib/groovy-all-2.4.12-indy.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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)