> - It is not possible to support native JDK commands such as "java" inside Mac > App Store bundles due to embedded info.plist. Workarounds suggested in > JDK-8286122 does not seems to be visible. > - With proposed fix we will enforce "--strip-native-commands" option for > jlink, so native JDK commands are not included when generating Mac App Store > bundles. > - Custom runtime provided via --runtime-image should not contain native > commands as well, otherwise jpackage will throw error. > - Added two tests to validate fix.
Alexander Matveev has updated the pull request incrementally with one additional commit since the last revision: 8286122: [macos]: App bundle cannot upload to Mac App Store due to info.plist embedded in java exe [v2] ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/8666/files - new: https://git.openjdk.java.net/jdk/pull/8666/files/4b3c8754..c9ebcee1 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8666&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8666&range=00-01 Stats: 16 lines in 2 files changed: 3 ins; 4 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/8666.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8666/head:pull/8666 PR: https://git.openjdk.java.net/jdk/pull/8666