Fix regression from [JDK-8358723](https://bugs.openjdk.org/browse/JDK-8358723).
Without the fix, the test failed 3 times out of 100 executions. With the fix, it didn't fail after 200 executions in the same environment. ------------- Commit messages: - 8368890: open/test/jdk/tools/jpackage/macosx/NameWithSpaceTest.java fails randomly Changes: https://git.openjdk.org/jdk/pull/27555/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27555&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8368890 Stats: 17 lines in 1 file changed: 14 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/27555.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27555/head:pull/27555 PR: https://git.openjdk.org/jdk/pull/27555
