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

Benjamin Peterson duke at openjdk.org
Wed Oct 8 02:44:06 UTC 2025


On Wed, 8 Oct 2025 02:36:42 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > I'm not sure such code previously would have worked. As far as I can tell, System.loadLibrary would fail before reaching os::dll_load if the string passed into System.loadLibrary could not be resolved to an extant file by NativeLibraries.
> 
> `os::dll_load` is not used only to implement `System.loadLibrary`.

So, this dot logic should be lifted to `JVM_LoadLibrary`?

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

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


More information about the hotspot-runtime-dev mailing list