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

Alexey Semenyuk asemenyuk at openjdk.org
Tue Nov 4 00:55:34 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`, update TKit.PathSnapshot class).
>  - 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.
>  - 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.

@sashamatveev PTAL

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

PR Comment: https://git.openjdk.org/jdk/pull/28118#issuecomment-3483237602


More information about the core-libs-dev mailing list