RFR: 8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap [v2]

Brian Burkhalter bpb at openjdk.java.net
Tue Aug 10 17:18:15 UTC 2021


> This request proposes to fix a failure on macOS which occurs when transferring to or from a file channel from or to the same file channel when the source and destination intervals overlap.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8140241: Fix potential overflow in interval overlap checks

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5061/files
  - new: https://git.openjdk.java.net/jdk/pull/5061/files/203495a5..f5f49956

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5061&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5061&range=00-01

  Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5061.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5061/head:pull/5061

PR: https://git.openjdk.java.net/jdk/pull/5061


More information about the nio-dev mailing list