You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/11/24 16:46:00 UTC

[jira] [Updated] (GROOVY-10855) Meta-annotation retention policy and target

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

Eric Milles updated GROOVY-10855:
---------------------------------
    Description: 
Groovy collector annotations {{@Canonical}}, {{@Immutable}}, {{@RecordType}} and {{@CompileDynamic}} have missing or misleading {{Retention}} and {{Target}} metadata.  _Note:_ there may be others...

{{@Canonical}} and {{@CompileDynamic}}: missing {{Retention}} and {{Target}}

{{@Immutable}} and {{@RecordType}}: {{RetentionPolicy}} is {{RUNTIME}} but should be {{SOURCE}} since meta-annotation is not retained.

  was:
Groovy collector annotations {{@Canonical}}, {{@Immutable}}, {{@RecordType}} and {{@CompileDynamic}} have missing or misleading {{Retention}} and {{Target}} metadata.

{{@Canonical}} and {{@CompileDynamic}}: missing {{Retention}} and {{Target}}

{{@Immutable}} and {{@RecordType}}: {{RetentionPolicy}} is {{RUNTIME}} but should be {{SOURCE}} since meta-annotation is not retained.


> Meta-annotation retention policy and target
> -------------------------------------------
>
>                 Key: GROOVY-10855
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10855
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Priority: Minor
>
> Groovy collector annotations {{@Canonical}}, {{@Immutable}}, {{@RecordType}} and {{@CompileDynamic}} have missing or misleading {{Retention}} and {{Target}} metadata.  _Note:_ there may be others...
> {{@Canonical}} and {{@CompileDynamic}}: missing {{Retention}} and {{Target}}
> {{@Immutable}} and {{@RecordType}}: {{RetentionPolicy}} is {{RUNTIME}} but should be {{SOURCE}} since meta-annotation is not retained.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)