On Wed, 7 May 2025 23:21:20 GMT, Benjamin Peterson <d...@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

Reply via email to