This issue is similar to JDK-8277493. Looks like macOS 13 cannot execute unsigned code and code should be at least ad hoc signed. Same as for macOS aarch64. Fixed by enabling ad hoc signing for macOS platform for both x64 and aarch64.
------------- Commit messages: - 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS Changes: https://git.openjdk.org/jdk20/pull/20/files Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=20&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8298488 Stats: 6 lines in 3 files changed: 0 ins; 4 del; 2 mod Patch: https://git.openjdk.org/jdk20/pull/20.diff Fetch: git fetch https://git.openjdk.org/jdk20 pull/20/head:pull/20 PR: https://git.openjdk.org/jdk20/pull/20