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 2018/10/05 04:34:00 UTC

[jira] [Updated] (GROOVY-8825) CLONE - Conflict between @Generated and @Delegate

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

Paul King updated GROOVY-8825:
------------------------------
    Description: 
I cloned the issue to try to find a suitable test. There is now an extra guard which should prevent the problem in case I envisage.

ORIGINAL BELOW:

I get 
java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface groovy.transform.Generated: @groovy.transform.Generated()
On a class with a field declared with @Delegate

 

Removing @Delegate works around the problem

  was:
I get 
java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface groovy.transform.Generated: @groovy.transform.Generated()
On a class with a field declared with @Delegate

 

Removing @Delegate works around the problem


> CLONE - Conflict between @Generated and @Delegate
> -------------------------------------------------
>
>                 Key: GROOVY-8825
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8825
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.3
>            Reporter: François Guillot
>            Priority: Major
>
> I cloned the issue to try to find a suitable test. There is now an extra guard which should prevent the problem in case I envisage.
> ORIGINAL BELOW:
> I get 
> java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface groovy.transform.Generated: @groovy.transform.Generated()
> On a class with a field declared with @Delegate
>  
> Removing @Delegate works around the problem



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