--- old/src/jdk.jpackage/windows/native/msiwrapper/Executor.cpp 2019-08-28 09:12:54.778020100 -0400 +++ new/src/jdk.jpackage/windows/native/msiwrapper/Executor.cpp 2019-08-28 09:12:52.562777500 -0400 @@ -61,7 +61,7 @@ int Executor::execAndWaitForExit() const { UniqueHandle h = startProcess(); - + const DWORD res = ::WaitForSingleObject(h.get(), INFINITE); if (WAIT_FAILED == res) { JP_THROW(SysError("WaitForSingleObject() failed", WaitForSingleObject)); @@ -80,7 +80,7 @@ LOG_TRACE(tstrings::any() << "Process with PID=" << processId << " terminated. Exit code=" << exitCode); - + return static_cast(exitCode); }