-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: 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.