RFR: 8310902: (fc) FileChannel.transferXXX async close and interrupt issues [v3]

Alan Bateman alanb at openjdk.org
Wed Jun 28 19:46:28 UTC 2023


On Wed, 28 Jun 2023 19:07:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> I'll check it but all I've really done here is rename fileSupported to transferToFileDirectNotSupported and inverted the values.
>
> In that case the situation did not change and whether it poses a problem could be investigated under another issue.

I think the simplest thing is to remove fileSupported for now.  Also if we limit the get/set of transferToDirectNotSupported to transferToDirect, and limit the get/set of transfeFromDirectNotSupported to transferFromDirect then it removes any confusion as to when the direct cases are disabled. I've done that now and updated the PR

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14656#discussion_r1245683370


More information about the nio-dev mailing list