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

Daniel Jeliński djelinski at openjdk.org
Wed Sep 11 16:54:07 UTC 2024


On Tue, 10 Sep 2024 19:58:45 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/share/classes/sun/nio/ch/IOUtil.java line 575:
>> 
>>> 573:      * Used to trigger loading of native libraries
>>> 574:      */
>>> 575:     public static void load() { }
>> 
>> do we still need this method?
>
> Yes, it still needs to be called in a few places, e.g., for classes whose native component needs the `fdval()` and `handleval()` functions.

that's a good point. The comment might need to be updated to reflect that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20317#discussion_r1755166228


More information about the build-dev mailing list