Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6-beta-2
-
Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
-
Component/s: None
-
Labels:None
-
Environment:Win XP SP2, JRE 1.6.0
-
Number of attachments :
Description
Open groovyConsole, enter:
class Foo {
@Delegate Date d = new Date();
}
Press Ctrl+Enter. Error displayed:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script14: -1: Repetitive method name/signature for method 'int compareTo(java.lang.Object)' in class 'Foo'.
@ line -1, column -1.Script14: -1: Repetitive method name/signature for method 'int compareTo(java.lang.Object)' in class 'Foo'.
@ line -1, column -1.
2 errors
Note: changing Date to other classes such as Map works fine, seems to be something specific about Date.