Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8370387 Remove handling of InterruptedIOException from java.io classes
  3. JDK-8370507

Release Note: PrintStream and PrintWriter mark stream in error if write fails with InterruptedIOException

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 26
    • 26
    • core-libs
    • generic
    • generic

      The behavior of `java.io.PrintStream` and `java.io.PrintWriter` has changed when writing to a custom output stream that throws `InterruptedIOException`. If the custom output stream's `write` method throws `InterruptedIOException` then the `PrintStream` or `PrintWriter` is now marked in error so that `checkError` returns `true`. Historically this exception caused the writing Thread's interrupted status to be set, without marking the stream in error.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: