--- a/src/jdk.jpackage/windows/native/libjpackage/WinSysInfo.cpp Wed Aug 28 07:32:23 2019 -0400
+++ b/src/jdk.jpackage/windows/native/libjpackage/WinSysInfo.cpp Wed Aug 28 11:30:40 2019 -0400
@@ -105,10 +105,11 @@
// get module handle for the address of this function
LPCWSTR address = reinterpret_cast<LPCWSTR>(getCurrentModuleHandle);
HMODULE hmodule = NULL;
- if (!GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
- address, &hmodule))
+ if (!GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
+ | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, address, &hmodule))
{
- JP_THROW(SysError(tstrings::any() << "GetModuleHandleExW failed", GetModuleHandleExW));
+ JP_THROW(SysError(tstrings::any() << "GetModuleHandleExW failed",
+ GetModuleHandleExW));
}
return hmodule;
}