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:12:24 UTC 2021


On Tue, 10 Aug 2021 17:14:57 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> As an aside, I think that the cast to `int` at line 689 of `FileChannelImpl` should have been removed in the fix for [JDK-8271308](https://bugs.openjdk.java.net/browse/JDK-8271308) but was not.

Including it as part of this change should be okay.

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

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


More information about the nio-dev mailing list