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

Devin Rosenbauer updated GROOVY-9005:
-------------------------------------
    Description: 
I'm receiving the above error when attempting to compile certain classes that 
have @CompileStatic on either the class or a method within a dynamically 
compiled class. The project is a cross-compiled Java / Groovy project with all 
classes of both types defined in the "groovy" structure.

The simplest case I can derive to reproduce the failure is attached.


  was:I'm receiving the above error when attempting to compile certain classes 
that have @CompileStatic on either the class or a method within a dynamically 
compiled class. Oddly, it doesn't seem to affect every compile static class 
I've got, so I'm still trying to narrow down the simplest case. I will return 
and update with a code sample when I find one.


> SomeClass.groovy: -1: Access to java.lang.Object#this is forbidden @ line -1, 
> column -1
> ---------------------------------------------------------------------------------------
>
>                 Key: GROOVY-9005
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9005
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static compilation
>    Affects Versions: 2.5.6
>            Reporter: Devin Rosenbauer
>            Priority: Major
>         Attachments: GROOVY-9005.zip
>
>
> I'm receiving the above error when attempting to compile certain classes that 
> have @CompileStatic on either the class or a method within a dynamically 
> compiled class. The project is a cross-compiled Java / Groovy project with 
> all classes of both types defined in the "groovy" structure.
> The simplest case I can derive to reproduce the failure is attached.



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

Reply via email to