n in os::lasterror defined by os_windows.cpp is only the length of the string's actual character data, not accounting for the null character terminating the string. We should terminate the (n + 1)'th character, not the n'th character
- relates to
-
JDK-8288293 Windows/gcc Port
- Draft
- links to
-
Review openjdk/jdk/13350