Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.6-beta-2
-
None
-
None
Description
I'm sure this is a more general problem than this test case, but I was checking the 1.6 branch against IFCX Wings and discovered that some change within the last few weeks makes it impossible to subclass java.io.PrintWriter.
The error is:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed,
/Users/jim/Projects/Groovy/groovy-svn/groovy-core/src/test/groovy/bugs/newbug.groovy: -1:
The return type of java.lang.Appendable append(java.lang.CharSequence)
in java.io.PrintWriter is incompatible with java.io.PrintWriter append(java.lang.CharSequence)
in java.io.PrintWriter.
Node: org.codehaus.groovy.ast.MethodNode. At [-1:-1] @ line -1, column -1.
1 error