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

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

Venugopal created GROOVY-9013:
---------------------------------

             Summary: 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


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)