Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.6-beta-2
-
None
Description
The Groovy/Grails joint build for Groovy 1.6 is currently failing to compile with the error:
26-May-2008 09:03:05 [exec] [groovyc] @ line 51, column 5. 26-May-2008 09:03:05 [exec] [groovyc] private transient MetaClass metaClass; 26-May-2008 09:03:05 [exec] [groovyc] ^ 26-May-2008 09:03:05 [exec] [groovyc] /opt/j2ee/domains/ci.codehaus.org/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.0/xml-data/build-dir/GRAILS-GROOVYGRAILS/checkout/grails/src/groovy/org/codehaus/groovy/grails/webflow/engine/builder/FlowBuilder.groovy: 76: The field 'metaClass' is declared multiple times. 26-May-2008 09:03:05 [exec] [groovyc] @ line 76, column 5. 26-May-2008 09:03:05 [exec] [groovyc] private MetaClass metaClass 26-May-2008 09:03:05 [exec] [groovyc] ^ 26-May-2008 09:03:05 [exec] [groovyc] 26-May-2008 09:03:05 [exec] [groovyc] 2 errors 26-May-2008 09:03:05 [exec] 26-May-2008 09:03:05 [exec] BUILD FAILED 26-May-2008 09:03:05 [exec] /opt/j2ee/domains/ci.codehaus.org/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.0/xml-data/build-dir/GRAILS-GROOVYGRAILS/checkout/grails/ant/build/compile.xml:24: Compilation Failed
It seems that the compiler is incorrectly generated to private metaClass fields even when one is already declared. See http://bamboo.ci.codehaus.org/browse/GRAILS-GROOVYGRAILS-118/log for more info
Attachments
Issue Links
- is related to
-
GROOVY-2864 defining a field and a property of the same name
- Closed