RFR: 8337143: (fc, fs) Move filesystem-related native objects from libnio to libjava

Brian Burkhalter bpb at openjdk.org
Wed Jul 24 19:19:01 UTC 2024


On Wed, 24 Jul 2024 19:11:42 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> This proposed change would move the native objects required for NIO file interaction from the libnio native library to the libjava native library on Linux, macOS, and Windows.

This change passes CI tiers 1-5 jobs on all platforms. With the change in place, one can remove `libnio` from the JDK and still be able to copy a file using FileChannel. Without the change, doing this will result in throwing a `java.lang.UnsatisfiedLinkError`.

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

PR Comment: https://git.openjdk.org/jdk/pull/20317#issuecomment-2248732983


More information about the build-dev mailing list