RFR: 8293331: Refactor FileChannelImpl into operating system-specific components
Alan Bateman
alanb at openjdk.org
Sat Sep 3 06:17:41 UTC 2022
On Sat, 3 Sep 2022 00:59:07 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Break up `sun.nio.ch.FileChannelImpl` in a manner similar but not identical to the refactoring of `sun.nio.fs.UnixFileSystem` performed in #10093.
FileChannel delegates to a FileDispatcher so there is already a place for OS specific code (both java and native code). I think we should try to lean on that before introducing a parallel hierarchy of classes.
-------------
PR: https://git.openjdk.org/jdk/pull/10154
More information about the nio-dev
mailing list