RFR: JDK-8235738: tools/jpackage/macosx/NameWithSpaceTest.java failed due to exit code 134
alexey.semenyuk at oracle.com
Fri Dec 13 17:47:05 UTC 2019
Looks ugly, but seems to be the only possible fix at the moment. Approved.
On 12/13/2019 1:01 AM, Alexander Matveev wrote:
> Please review fix  for jpackage bug .
> Not sure why it happens, but reading output from "hdiutil attach" was
> not exiting immediately after process terminated with delays upto 20
> seconds always and in some case upto 10 minutes and thus test was
> timeout. Only possible workaround found is to wait for "hdiutil
> attach" process to exit before reading output. In this case call to
> "hdiutil attach" and reading output happens very fast and does not
> hang for long time. Generating simple DMG image went from ~40 seconds
> to ~20 seconds after fix. Test was done with verbose output enabled.
>  https://bugs.openjdk.java.net/browse/JDK-8235738
>  http://cr.openjdk.java.net/~almatvee/8235738/webrev.00/
More information about the core-libs-dev