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

Brian Burkhalter bpb at openjdk.org
Thu Sep 12 02:10:03 UTC 2024


On Wed, 11 Sep 2024 19:22:00 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java line 1097:
>> 
>>> 1095: 
>>> 1096:     static {
>>> 1097:         jdk.internal.loader.BootLoader.loadLibrary("net");
>> 
>> ...do we still need net here?
>
> We don't need it in `libjava`, but `NTLMAuthentication` was (perhaps unwittingly) relying on it to load `net.dll` during boot phase 2. I'll move the load to a more appropriate location in the next commit.

Moved to `NTLMAuthentication` static initializer. 853d349

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

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


More information about the core-libs-dev mailing list