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

Alexey Semenyuk asemenyuk at openjdk.org
Tue Nov 4 02:19:41 UTC 2025


> - 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).
> - 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.

Alexey Semenyuk has updated the pull request incrementally with one additional commit since the last revision:

  AppContentTest: keep test log stable

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28118/files
  - new: https://git.openjdk.org/jdk/pull/28118/files/c37d67bf..c76e49f2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28118&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28118&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/28118.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28118/head:pull/28118

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


More information about the core-libs-dev mailing list