Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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:
BUG! exception in phase 'class generation' in source unit 'ConsoleScript1' unsupported Target TYPE_USE
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).
Attachments
Issue Links
- relates to
-
GROOVY-11178 JSR308 constructor call annotations not resolved or available
- Closed
- links to