RFR: 8370387: Remove handling of InterruptedIOException from java.io classes

David Holmes dholmes at openjdk.org
Thu Oct 23 01:18:00 UTC 2025


On Wed, 22 Oct 2025 18:26:16 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Remove catching `InterruptedIOException` and throw `IOException` in response to `InterruptedException` instead of throwing `InterruptedIOException`.

For some classes you are now leaving the interrupt state set, rather than clearing it as before. Such a behaviour change definitely needs a CSR request.

You also potentially break code that catches `InterruptedIOException`.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27941#issuecomment-3434738847
PR Comment: https://git.openjdk.org/jdk/pull/27941#issuecomment-3434740936


More information about the core-libs-dev mailing list