Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4140410

java.io.{StringWriter,CharArrayWriter} permit I/O after close

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.2.0
    • core-libs
    • generic
    • generic

      After you close a StringWriter or CharArrayWriter, you can still call their I/O methods. According to the developer, the only operations that should be allowed after these are closed are getBuffer and toString. Otherwise, we should see an IOException.

            mmcclosksunw Michael Mccloskey (Inactive)
            kdonkersunw Karin Donker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: