Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.11
-
None
Description
Groovy generates incorrect stubs for static properties of traits resulting in compilation errors such as:
/Users/graemerocher/grails/apps/domain-plugins/app/build/tmp/compileGroovy/groovy-java-stubs/bug/DomainA.java:10: error: org_grails_datastore_mapping_dirty_checking_DirtyCheckable__DIRTY_CLASS_MARKER$get() in DomainParent cannot implement org_grails_datastore_mapping_dirty_checking_DirtyCheckable__DIRTY_CLASS_MARKER$get() in DirtyCheckable$Trait$FieldHelper public class DomainA ^ overriding method is static 1 error startup failed: Compilation failed; see the compiler error output for details. 1 error
Attached is an example. Simply run `./gradlew compileGroovy`
Attachments
Attachments
Issue Links
- links to