OpenJDK / amber / amber
changeset 58224:b1da055915ef
8231885: Fix/remove malformed assert in os_windows.cpp
Reviewed-by: dcubed, stuefe, kbarrett
author | clanger |
---|---|
date | Mon, 07 Oct 2019 13:32:44 +0100 |
parents | bada0782842a |
children | 74094a60d018 |
files | src/hotspot/os/windows/os_windows.cpp |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/os/windows/os_windows.cpp Wed Oct 02 17:32:08 2019 +0200 +++ b/src/hotspot/os/windows/os_windows.cpp Mon Oct 07 13:32:44 2019 +0100 @@ -4189,8 +4189,6 @@ if (::isalpha(buf[0]) && !::IsDBCSLeadByte(buf[0]) && buf[1] == ':' && buf[2] == '\\') { prefix = L"\\\\?\\"; } else if (buf[0] == '\\' && buf[1] == '\\') { - assert(buf[2] != '\\'); - if (buf[2] == '?' && buf[3] == '\\') { prefix = L""; needs_fullpath = false;