In os_windows.cpp:
In a few places results returned by GetLastError() are stored to errno. However, errno has no relation to GetLastError(), and their ranges are not the same.
Results of GetLastError should be stored into variables of type DWORD.
In a few places results returned by GetLastError() are stored to errno. However, errno has no relation to GetLastError(), and their ranges are not the same.
Results of GetLastError should be stored into variables of type DWORD.
- relates to
-
JDK-8366272 The os::xxx APIs do not manage errno correctly
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/523bc779
-
Review(master) openjdk/jdk/26901