--- old/src/jdk.jpackage/windows/native/libjpackage/WinErrorHandling.h 2019-08-28 09:11:07.362750100 -0400 +++ new/src/jdk.jpackage/windows/native/libjpackage/WinErrorHandling.h 2019-08-28 09:11:05.081105900 -0400 @@ -38,8 +38,9 @@ // returns string "system error (error_description)" // in UNICODE is not defined, the string returned is utf8-encoded - static std::wstring getSysErrorMessage(DWORD errCode = GetLastError(), HMODULE moduleHandle = NULL); - + static std::wstring getSysErrorMessage(DWORD errCode = GetLastError(), + HMODULE moduleHandle = NULL); + // returns string "COM error 0x
(error_description)" // in UNICODE is not defined, the string returned is utf8-encoded static std::wstring getComErrorMessage(HRESULT hr);