RFR: 8348828: Windows dll loading now resolves symlinks [v3]

Alan Bateman alanb at openjdk.org
Thu May 8 19:16:53 UTC 2025


On Thu, 8 May 2025 19:05:56 GMT, Benjamin Peterson <duke at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/loader/NativeLibraries.java line 124:
>> 
>>> 122:                     return null;
>>> 123:                 }
>>> 124:                 name = file.getCanonicalPath() + ClassLoaderHelper.nativeLoaderFileNameSuffix();
>> 
>> For this proposal then the appending needs to conditional.
>
> Conditional on what?

The appending of the "." is specific to the case where there isn't a .dll suffix.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24694#discussion_r2080323162


More information about the core-libs-dev mailing list