RFR: 8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
Alan Bateman
alanb at openjdk.java.net
Tue Aug 10 18:15:29 UTC 2021
On Tue, 10 Aug 2021 17:12:43 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Fixed the overlap checks and the transferFrom n == 0 case.
The overlap check looks right now although it is done without the positionLock so the position could potentially change (may not be worth worrying about).
-------------
PR: https://git.openjdk.java.net/jdk/pull/5061
More information about the nio-dev
mailing list