Integrated: 8286122: [macos]: App bundle cannot upload to Mac App Store due to info.plist embedded in java exe
Alexander Matveev
almatvee at openjdk.java.net
Wed May 18 20:25:43 UTC 2022
On Wed, 11 May 2022 21:31:44 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> - 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.
This pull request has now been integrated.
Changeset: b523c884
Author: Alexander Matveev <almatvee at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/b523c88480ba5c8f9d78537c9de0abcbf1f867c0
Stats: 221 lines in 7 files changed: 216 ins; 1 del; 4 mod
8286122: [macos]: App bundle cannot upload to Mac App Store due to info.plist embedded in java exe
Reviewed-by: asemenyuk, kcr
-------------
PR: https://git.openjdk.java.net/jdk/pull/8666
More information about the core-libs-dev
mailing list