Pls review (S) 7126185: Clean up lasterror handling, add os::get_last_error()

Paul Hohensee paul.hohensee at
Tue Jan 3 12:13:43 PST 2012

Webrev here

Delete getLastErrorString() from os_windows.cpp and replace its uses by
calls to os::lasterror().  getLastErrorString() was functionally 
identical to

Add os::get_last_error() to get the last error number.  Used only by closed
source code right now, but logically belongs in the open.

Use the correct DWORD type for the result of GetLastError().



More information about the hotspot-runtime-dev mailing list