-
Bug
-
Resolution: Fixed
-
P3
-
23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8341425 | 23.0.2 | George Adams | P3 | Resolved | Fixed | b01 |
JDK-8341112 | 21.0.6 | George Adams | P3 | Resolved | Fixed | b01 |
initilization throws up the warning:
OpenJDK 64-Bit Server VM warning: Failed to determine whether the OS can retrieve version information from kernel32.dll: The system cannot find the file specified
To recreate, start a Windows nanoserver:
docker run -it mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd.exe
# download jdk-23+37...
java -version
I am unclear of the consequences of this warning, or usability of the VM??
I suspect this is because on Windows nanoserver kernel32.dll is not within the
System32 directory itself but within the "forwarders" sub-folder.
Thus this logic probably needs fixing: https://github.com/openjdk/jdk/blob/08a2f841ec78a10f8d6d54b2ac3a92e89f765f14/src/hotspot/os/windows/os_windows.cpp#L4101
- backported by
-
JDK-8341112 VM issues warning failure to find kernel32.dll on Windows nanoserver
- Resolved
-
JDK-8341425 VM issues warning failure to find kernel32.dll on Windows nanoserver
- Resolved
- relates to
-
JDK-6942632 Hotspot should be able to use more than 64 logical processors on Windows
- Resolved
- links to
-
Commit(master) openjdk/jdk21u-dev/c8b8f72a
-
Commit(master) openjdk/jdk23u/6b1c1aca
-
Commit(master) openjdk/jdk/3c97d243
-
Review(master) openjdk/jdk21u-dev/1014
-
Review(master) openjdk/jdk23u/120
-
Review(master) openjdk/jdk/21070