RFR: 8348828: Windows dll loading now resolves symlinks

Benjamin Peterson duke at openjdk.org
Wed May 7 18:43:57 UTC 2025


On Wed, 7 May 2025 17:28:23 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Are you the submitter of JDK-8348828?

Yes, I am.

> Asking because the configuration described seems very unusual and sounds like something that changed the JDK image so the DLLs from the JDK bin directory are moved to somewhere else and sym link put in place instead.

Correct, I explained a bit on the issue, but we have a system that replicates normal filesystem trees with symlink trees.

> I think we also need to understand if there is a bug in File::getCanonicalPath before change the usage.

I believe the problem is that `getCanonicalPath` is working too well and that symlink resolution of native libraries should be left to the system resolver.

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

PR Comment: https://git.openjdk.org/jdk/pull/24694#issuecomment-2859855724


More information about the core-libs-dev mailing list