RFR: 8348828: Windows dll loading now resolves symlinks
Brian Burkhalter
bpb at openjdk.org
Wed May 7 23:32:51 UTC 2025
On Wed, 7 May 2025 23:21:20 GMT, Benjamin Peterson <duke at openjdk.org> wrote:
> > So is it correct to say that the link resolution appears correct but `LoadLibrary`'s quirks cause the intended behavior to fail?
>
> Yes. The `getCanonicalPath` canonicalization indeed produces the file pointed to by the symlink.
All right, it is good to know that it is behaving in the desired manner.
> However, in the context of `NativeLibraries`, doing path canonicalization is at best unnecessary and at worst yields the linked bug.
You might be correct. We'll see what @AlanBateman and others have to say about it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24694#issuecomment-2860711420
More information about the core-libs-dev
mailing list