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

Brian Burkhalter bpb at openjdk.org
Mon Aug 25 23:13:28 UTC 2025


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

Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:

 - 8361495: Rename test and improve as suggested
 - Merge
 - 8361495: Remove commented out code and low value print statement
 - 8361495: Add read and write tests and convert to JUnit 5
 - 8361495: Clean up initial test
 - 8361495: (fc) Async close of streams connected to uninterruptible FileChannel doesn't throw AsynchronousCloseException in all cases

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26435/files
  - new: https://git.openjdk.org/jdk/pull/26435/files/a39b2f1b..dd4093a1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26435&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26435&range=03-04

  Stats: 57062 lines in 1496 files changed: 30780 ins; 20141 del; 6141 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