RFR: JDK-8235738: tools/jpackage/macosx/NameWithSpaceTest.java failed due to exit code 134

Alexander Matveev alexander.matveev at oracle.com
Fri Dec 13 06:01:04 UTC 2019

Please review fix [2] for jpackage bug [1].

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.


[1] https://bugs.openjdk.java.net/browse/JDK-8235738

[2] http://cr.openjdk.java.net/~almatvee/8235738/webrev.00/

More information about the core-libs-dev mailing list