RFR: 8293331: Refactor FileChannelImpl into operating system-specific components [v3]

Brian Burkhalter bpb at openjdk.org
Mon Sep 19 18:54:46 UTC 2022


On Sun, 18 Sep 2022 18:04:48 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Could FileChannelImpl.nd be a static field, there doesn't seen to be any reason to create one per FileChannel now. Also Unmapper shouldn't need its own now either.
> 
> Can the static initialiser that calls IOUtil.load be removed from FileChannelImpl? The library loading is pushed down to FileDispatcherImpl now so I assume it is not needed.

Above all fixed in c6e271eb0d23f846d4c5ef55c3cb32ba2f7d896d.

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

PR: https://git.openjdk.org/jdk/pull/10154


More information about the nio-dev mailing list