Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-3
-
Fix Version/s: 1.5.2
-
Component/s: None
-
Labels:None
-
Environment:groovy jsr03, jdk 1.4.2_09
-
Testcase included:yes
-
Number of attachments :
Description
println does not seem to be interpreted as just another method on an object even if it should, e.g.
mywriter.println("FOO")
still seems print to System.out and not invoke the println method on the mywriter object.
Please see the included test case.
Woops, there is a bug in the test case. The line:
assertEquals(foo.join(""), writer.toString())
should be:
assertEquals(foo.join("\n"), writer.toString())
This does not change this being a bug, though. = )