Integrated: 8370126: Improve jpackage signing testing
Alexey Semenyuk
asemenyuk at openjdk.org
Tue Oct 21 06:24:10 UTC 2025
On Fri, 17 Oct 2025 18:45:16 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> - Rework the SigningPackageTwoStepTest test to cover the case of bundling an unsigned predefined app image into a signed .pkg installer; make it verify expected warnings in the jpackage output.
>
> - All jpackage tests will verify that without "--mac-sign" option, jpackage produces app images with a valid "adhoc" signature.
>
> Additionally:
> - Fix jpackage to make it emit messages expected in the updated SigningPackageTwoStepTest test.
> - Add helper code for signing testing.
> - Automatically unlock jpackage test keychains in all signing tests.
> - Add a workaround for the `/usr/bin/codesign—-verify` command, which sometimes fails if executed without `sudo`.
This pull request has now been integrated.
Changeset: 2aa0efd4
Author: Alexey Semenyuk <asemenyuk at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2aa0efd4256a61e1e20989973f32be5d8e8f8fe3
Stats: 816 lines in 15 files changed: 549 ins; 139 del; 128 mod
8370126: Improve jpackage signing testing
Reviewed-by: almatvee
-------------
PR: https://git.openjdk.org/jdk/pull/27875
More information about the core-libs-dev
mailing list