RFR: 8277493: [REDO] Quarantined jpackage apps are labeled as "damaged"

Alexey Semenyuk asemenyuk at openjdk.java.net
Thu May 12 00:37:46 UTC 2022


On Wed, 4 May 2022 03:56:10 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> - No changes to code provided by original fix.
>  - Added ad hoc signing on macOS aarch64, since macOS aarch64 cannot execute unsigned code and code should be at least ad hoc signed.
>  - Signing of app bundle produced by AppContentTest.java fails, since it has invalid app bundle structure with added files into Content folder. Thus test is executed but failure is always expected on macOS aarch64.

Any chance logic traversing runtime and adjusting the permissions of its files in `unsignAppBundle()` and ` signAdHocAppBundle()` can be moved to a single function instead of being duplicated in both of them?

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

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


More information about the core-libs-dev mailing list