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

Remove handling of InterruptedIOException from java.io classes

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 26
    • core-libs
    • None
    • behavioral
    • low
    • Expected to be low. If InterruptedIOException is thrown then it will be recorded as an error by both classes, instead of resetting the interrupted status. It seems unlikely that there is code relying on this unusual behavior.
    • Java API
    • Implementation

      Summary

      Remove uses of java.io.InterruptedIOException from relevant classes in its package.

      Problem

      The class java.io.InterruptedIOException is problematic and is targeted for deprecation and eventual removal. Its use in the java.io classes does not provide any value. It would be good to remove its use from the pertinent classes in this package in anticipation of its future removal.

      Solution

      Remove the use of java.io.InterruptedIOException from the java.io classes PrintStream and PrintWriter. The occurrences in the Piped* classes are intentionally unchanged.

      Specification

      There is no specification change.

            bpb Brian Burkhalter
            alanb Alan Bateman
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: