src/hotspot/os/windows/os_windows.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/hotspot/os/windows/os_windows.cpp	Fri May  4 21:17:07 2018
--- new/src/hotspot/os/windows/os_windows.cpp	Fri May  4 21:17:07 2018

*** 4382,4395 **** --- 4382,4396 ---- if (search_path == NULL) { errno = ENOMEM; return false; } strcpy(search_path, path); + os::native_path(search_path); // Append "*", or possibly "\\*", to path ! if (search_path[1] == ':' && ! (search_path[2] == '\0' || ! (path[2] == '\\' && path[3] == '\0'))) { ! (search_path[2] == '\\' && search_path[3] == '\0'))) { // No '\\' needed for cases like "Z:" or "Z:\" strcat(search_path, "*"); } else { strcat(search_path, "\\*");

src/hotspot/os/windows/os_windows.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File