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/03/06 23:26:11 UTC
[jira] [Closed] (GROOVY-8226) JSR308 initial plumbing tweaks
[ https://issues.apache.org/jira/browse/GROOVY-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-8226.
-----------------------------
> JSR308 initial plumbing tweaks
> ------------------------------
>
> Key: GROOVY-8226
> URL: https://issues.apache.org/jira/browse/GROOVY-8226
> Project: Groovy
> Issue Type: Sub-task
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
> Fix For: 2.5.0-beta-2
>
>
> This sub-task is about making Groovy aware of the target types TYPE_USE and TYPE_PARAMETER for JDK8+.
> The Groovy compiler should be able to compile annotation definitions containing these targets rather than producing the current error:
> {noformat}
> BUG! exception in phase 'class generation' in source unit 'ConsoleScript1' unsupported Target TYPE_USE
> {noformat}
> Also, after this change, Groovy should be able to use annotations that have a target of TYPE_USE or TYPE_PARAMETER plus one or more other targets. The annotation should be usable according to whatever other targets are specified. Adapting Groovy to also be able to use the annotation at places corresponding to TYPE_USE or TYPE_PARAMETER is the subject of another issue(s).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)