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

Benjamin Peterson duke at openjdk.org
Tue Oct 7 17:54:22 UTC 2025


On Tue, 7 Oct 2025 15:52:12 GMT, Chen Liang <liach at openjdk.org> wrote:

> Thanks for prompting for attention on the mailing list.

Thanks for looking.

> 
> I just wonder if it would be better for us to handle this in `os::dll_load` in `os_windows.cpp` - this seems a better way to handle generic platform-specific peculiarities. This approach also means JNI and all other users would be updated too, but I don't see why JNI would handle this differently from class loader APIs.

This is a good suggestion. I've now updated do append the dot in `os_windows.cpp`'s `dll_load`.

I suppose this turns it in a hotspot review rather than a core-libs change?

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

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


More information about the core-libs-dev mailing list