- Symbolic links will not be followed for `--app-content` on macOS. - Added test to cover this case. - `MacHelper` updated to use "cp -R" instead of "cp -r" when unpacking DMG, since "cp -r" on macOS is not documented option and when used `cp` will follow symbolic links which breaks test. "cp -R" does not follow symbolic links.
------------- Commit messages: - 8352480: [macos] Don't follow symlinks in additional content for app images Changes: https://git.openjdk.org/jdk/pull/24974/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24974&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8352480 Stats: 56 lines in 3 files changed: 30 ins; 16 del; 10 mod Patch: https://git.openjdk.org/jdk/pull/24974.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24974/head:pull/24974 PR: https://git.openjdk.org/jdk/pull/24974