src/hotspot/os/windows/os_windows.cpp
changeset 58473 b1da055915ef
parent 58426 ed5e399d967d
child 58548 430b9a492a05
equal deleted inserted replaced
58471:bada0782842a 58473:b1da055915ef
  4187     bool needs_fullpath = true;
  4187     bool needs_fullpath = true;
  4188 
  4188 
  4189     if (::isalpha(buf[0]) && !::IsDBCSLeadByte(buf[0]) && buf[1] == ':' && buf[2] == '\\') {
  4189     if (::isalpha(buf[0]) && !::IsDBCSLeadByte(buf[0]) && buf[1] == ':' && buf[2] == '\\') {
  4190       prefix = L"\\\\?\\";
  4190       prefix = L"\\\\?\\";
  4191     } else if (buf[0] == '\\' && buf[1] == '\\') {
  4191     } else if (buf[0] == '\\' && buf[1] == '\\') {
  4192       assert(buf[2] != '\\');
       
  4193 
       
  4194       if (buf[2] == '?' && buf[3] == '\\') {
  4192       if (buf[2] == '?' && buf[3] == '\\') {
  4195         prefix = L"";
  4193         prefix = L"";
  4196         needs_fullpath = false;
  4194         needs_fullpath = false;
  4197       } else {
  4195       } else {
  4198         prefix = L"\\\\?\\UNC";
  4196         prefix = L"\\\\?\\UNC";