[ https://issues.apache.org/jira/browse/GROOVY-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-3278. ----------------------------- > Using referenced String constant as value of Annotation causes compile error > ---------------------------------------------------------------------------- > > Key: GROOVY-3278 > URL: https://issues.apache.org/jira/browse/GROOVY-3278 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 1.6-rc-1 > Environment: OSX 10.5.6 > JDK 1.6 > Reporter: Gregg Bolinger > Assignee: Paul King > Priority: Major > Fix For: 3.0.0-alpha-4, 2.5.4 > > Attachments: groovy2827_qualified_annotation_constants.patch, src.zip > > > When using a String constant as the value for an annotation groovyc errors > out with the following message: > Attribute 'value' should have type java.lang.String but found type > java.lang.Object in @SpringBean > I've attached sample code to reproduce. The annotation and PersonDao are > regular Java classes, just as was my case when finding the bug. The > PersonAction is a Groovy class. -- This message was sent by Atlassian JIRA (v7.6.3#76005)