RFR: 8361495: (fc) Async close of streams connected to uninterruptible FileChannel doesn't throw AsynchronousCloseException in all cases

Brian Burkhalter bpb at openjdk.org
Tue Jul 22 23:29:08 UTC 2025


Throw `AsynchronousCloseException` from `FileChannelImpl` methods if the channel is uninterruptible and was closed before the method (operation) could complete.

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

Commit messages:
 - 8361495: (fc) Async close of streams connected to uninterruptible FileChannel doesn't throw AsynchronousCloseException in all cases

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

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


More information about the nio-dev mailing list