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] [Updated] (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 ]

Venugopal updated GROOVY-9013:
------------------------------
    Description: 
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

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


> 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)