RFR: 8362581: Timeouts in java/nio/channels/SocketChannel/OpenLeak.java on UNIX

Michael McMahon michaelm at openjdk.org
Fri Jul 25 12:15:05 UTC 2025


Hi,

This is a fix for 8362581 caused by the implementation for https://bugs.openjdk.org/browse/JDK-8348986
An incorrect check was added to the method Exceptions.ioException() which wasn't noticed partly
because that file was renamed, and webrev doesn't show the diffs side by side.
The effect of this change is to restore the method to pretty much what it was before, but taking account
of the changed categorisation of exceptions.

A test is not included since this was caught by an existing regression test.

Thanks,
Michael

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

Commit messages:
 - add test bugid
 - impl update

Changes: https://git.openjdk.org/jdk/pull/26478/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26478&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8362581
  Stats: 6 lines in 2 files changed: 0 ins; 3 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/26478.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26478/head:pull/26478

PR: https://git.openjdk.org/jdk/pull/26478


More information about the nio-dev mailing list