Integrated: 8371184: Improve jpackage test coverage for "--app-image" option

Alexey Semenyuk asemenyuk at openjdk.org
Tue Nov 4 22:44:05 UTC 2025


On Mon, 3 Nov 2025 21:45:35 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> - Verify that when `--app-image` option is specified, files from the predefined app image are copied verbatim into the output app image (JPackageCommand: add `PREDEFINED_APP_IMAGE_COPY`).
> - Add `LauncherVerifier.launcherDescription()` and use it from LiunuxHelper; extend PropertyFinder class for `LauncherVerifier.launcherDescription()`.
>  - Automatically reapply verifications to launchers in the predefined app image to the command referencing the predefined app image through `--app-image` option. Other changes relate to this update.
> 
> Supplementary:
> - Clean up redundancies after [8351369: [macos] Use --install-dir option with DMG packaging](https://bugs.openjdk.org/browse/JDK-8351369) fix: remove `JPackageCommand.dmgInstallDir`, simplify InstallDirTest test.
>  - AppContentTest.java: fix to make test logs stable.

This pull request has now been integrated.

Changeset: c8f5fd6f
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c8f5fd6ff3808804eda03c9754698a00dd06449c
Stats:     411 lines in 20 files changed: 230 ins; 80 del; 101 mod

8371184: Improve jpackage test coverage for "--app-image" option

Reviewed-by: almatvee

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

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


More information about the core-libs-dev mailing list