RFR: 8286671: (fc) Modify sun.nio.ch.FileChannelImpl.map0() to accept a FileDescriptor parameter

Alan Bateman alanb at openjdk.java.net
Fri May 13 07:05:45 UTC 2022


On Thu, 12 May 2022 23:34:35 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add a `FileDescriptor` as the first parameter of `map0()` and remove from the corresponding native code the use of `fd_chan`.

Thanks for doing this cleanup, it removes a long standing inconsistency. I agree with Jai on removing the obsolete/confusion comment and I assume you'll do that before integrating.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the nio-dev mailing list