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

Paul King closed GROOVY-8918.
-----------------------------
    Resolution: Fixed

I believe this is a duplicate of GROOVY-8339.

> Illegal Reflective Access reported during Gradle build
> ------------------------------------------------------
>
>                 Key: GROOVY-8918
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8918
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.4.15
>         Environment: Linux 64-bit , gradle 4.10.3, JDK 8 u192 with Netbeans 
> 8.2
>            Reporter: will mason
>            Priority: Major
>
> The following code is emitted for a Java/Groovy build using Gradle v4.10.3 
> and using the Spock BDD testing framework, JDK 8 targeting JRE 8.  The 
> message says to report this.  
> I didn't find an open bug with this message -- Towit, I'm reporting it.
> {code:java}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.CachedClass 
> (file:/scr/root/.caches/william/gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.15/5f71e0843ea6c949920f3219c6c961a3895e53c4/groovy-all-2.4.15-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
> Note: Creating bean classes for 2 type elements
> warning: Implicitly compiled files were not subject to annotation processing.
>   Use -implicit to specify a policy for implicit compilation.
> {code}



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

Reply via email to