This is regression from JDK-8276837. exec() was passing INFINITE_TIMEOUT instead of actual value of timeout variable. Execution of osascript was running without timeout and thus several tests timeout. Osascript hang during test execution is intermittent issue.
Also, removed IconTest.java and MultiNameTwoPhaseTest.java from ProblemList.txt. ------------- Commit messages: - 8278233: [macos] tools/jpackage tests timeout due to /usr/bin/osascript Changes: https://git.openjdk.java.net/jdk18/pull/18/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=18&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8278233 Stats: 4 lines in 2 files changed: 0 ins; 3 del; 1 mod Patch: https://git.openjdk.java.net/jdk18/pull/18.diff Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/18/head:pull/18 PR: https://git.openjdk.java.net/jdk18/pull/18
