diff -r 5730ca794584 -r 5830a17d9fc8 src/hotspot/os/windows/os_windows.cpp --- a/src/hotspot/os/windows/os_windows.cpp Thu May 10 10:00:49 2018 -0700 +++ b/src/hotspot/os/windows/os_windows.cpp Thu May 10 16:39:50 2018 -0700 @@ -4417,10 +4417,11 @@ return false; } strcpy(search_path, path); + os::native_path(search_path); // Append "*", or possibly "\\*", to path - if (path[1] == ':' && - (path[2] == '\0' || - (path[2] == '\\' && path[3] == '\0'))) { + if (search_path[1] == ':' && + (search_path[2] == '\0' || + (search_path[2] == '\\' && search_path[3] == '\0'))) { // No '\\' needed for cases like "Z:" or "Z:\" strcat(search_path, "*"); }