Integrated: 8358723: jpackage signing issues: the main launcher doesn't have entitlements

Alexey Semenyuk asemenyuk at openjdk.org
Fri Sep 26 14:03:18 UTC 2025


On Thu, 25 Sep 2025 16:06:37 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Fix the regression introduced by [JDK-8333664](https://bugs.openjdk.org/browse/JDK-8333664) that jpackage was not using entitlements when signing directories. This gave the main launcher no entitlements.
> 
> Additionally, enhance `jdk.jpackage.internal.util.PListReader` class.
> 
> Test code will verify that all launchers have the entitlements when `--mac-sign` is used or when a predefined app image is signed.
> 
> Ensured signing tests failed without the fix to `AppImageSigner.java` and that they passed with the fix.

This pull request has now been integrated.

Changeset: bdb7d25a
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bdb7d25ac11ca60a357b371c75544b346e523940
Stats:     610 lines in 10 files changed: 547 ins; 8 del; 55 mod

8358723: jpackage signing issues: the main launcher doesn't have entitlements

Reviewed-by: almatvee

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

PR: https://git.openjdk.org/jdk/pull/27493


More information about the core-libs-dev mailing list