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

Michael McMahon michaelm at openjdk.org
Fri Jul 25 14:26:39 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

Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:

  revert test change

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26478/files
  - new: https://git.openjdk.org/jdk/pull/26478/files/45cb3a46..c9a05bd6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26478&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26478&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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