Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.1, 1.7.2
-
Fix Version/s: 1.7.4, 1.8-beta-1
-
Component/s: Compiler
-
Labels:None
-
Environment:linux x86_64 - Fedora 12,
Groovy 1.7.2 (also 1.7.1)
Java 1.6.0_18 (64-bit)
-
Number of attachments :
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
Activity
Paul King
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | groovy4163_delegateWithImplements.patch [ 49776 ] |
Paul King
made changes -
| Attachment | groovy4163_delegateWithImplementsB.patch [ 49778 ] |
Paul King
made changes -
| Attachment | groovy4163_delegateWithImplements.patch [ 49776 ] |
Paul King
made changes -
| Attachment | groovy4163_delegateWithImplementsC.patch [ 49780 ] |
Paul King
made changes -
| Attachment | groovy4163_delegateWithImplementsB.patch [ 49778 ] |
Paul King
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Paul King [ paulk ] | |
| Fix Version/s | 1.8-beta-1 [ 16013 ] | |
| Fix Version/s | 1.7.4 [ 16563 ] | |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |