RFR: 8286122: [macos]: App bundle cannot upload to Mac App Store due to info.plist embedded in java exe [v2]

Alexey Semenyuk asemenyuk at openjdk.java.net
Thu May 12 17:34:44 UTC 2022


On Thu, 12 May 2022 04:15:50 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.
>
> 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]

Marked as reviewed by asemenyuk (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/8666



More information about the build-dev mailing list