Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1044

println invoked on a writer object still prints to System.out and not to the given writer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-3
    • 1.5.2
    • None
    • None
    • groovy jsr03, jdk 1.4.2_09

    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.

      Attachments

        1. printlntest.groovy
          0.5 kB
        2. printlntest.groovy
          0.5 kB

        Activity

          People

            paulk Paul King
            antti.karanta@napa.fi Antti Karanta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: