Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.1, 1.7.2
-
None
-
linux x86_64 - Fedora 12,
Groovy 1.7.2 (also 1.7.1)
Java 1.6.0_18 (64-bit)
Description
Groovy source file is attached.
I am trying to compile this file with the command:
groovy Temp.groovy
Compiler's output is as follows:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Temp.groovy: 4: Can't have an abstract method in a non-abstract class. The class 'Temp' must be declared abstract or the method 'void run()' must be implemented.
@ line 4, column 1.
class Temp implements Runnable {
^
1 error