RFR: 8340383: VM issues warning failure to find kernel32.dll on Windows nanoserver [v3]
George Adams
gdams at openjdk.org
Mon Sep 23 10:08:35 UTC 2024
On Mon, 23 Sep 2024 09:52:24 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> George Adams has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update os_windows.cpp
>
> src/hotspot/os/windows/os_windows.cpp line 4104:
>
>> 4102:
>> 4103: // Open the registry key
>> 4104: if (RegOpenKeyExA(HKEY_LOCAL_MACHINE, subKey, 0, KEY_READ, &hKey) != ERROR_SUCCESS) {
>
> Is this a protected key or should we generally expect reading it to always succeed?
it is a protected key but we're only opening it in read mode. I've tested this with non-elevated users and it seems to run okay
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21070#discussion_r1771111121
More information about the hotspot-runtime-dev
mailing list