RFR: 8340383: VM issues warning failure to find kernel32.dll on Windows nanoserver [v2]
George Adams
gdams at openjdk.org
Fri Sep 20 12:12:08 UTC 2024
On Wed, 18 Sep 2024 19:57:10 GMT, Martijn Verburg <karianna at openjdk.org> wrote:
>> George Adams has updated the pull request incrementally with one additional commit since the last revision:
>>
>> refactor to extract nanoserver detection
>
> src/hotspot/os/windows/os_windows.cpp line 4112:
>
>> 4110: strncat(kernel32_path, "\\kernel32.dll", MAX_PATH - ret);
>> 4111: // On Windows Nanoserver the kernel32.dll is located in the forwarders subdirectory
>> 4112: if (!os::file_exists(kernel32_path)) {
>
> Should this detection logic be extracted for other scenarios wher we need to special case nano?
I've found a registry key that we can reliably use to detect Windows Nanoserver
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21070#discussion_r1768479557
More information about the hotspot-runtime-dev
mailing list