Integrated: 8372290: jpackage test lib improvements

Alexey Semenyuk asemenyuk at openjdk.org
Fri Nov 21 15:01:07 UTC 2025


On Thu, 20 Nov 2025 18:34:08 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Collect updates to jpackage test lib from different work-in-progress fixes:
> 
>  - ConfigFilesStasher: fix "ServiceTest.testAddLFromAppImage" test failure on Linux
>  - Move PropertyFile class to the package level and make it not throw IOException
>  - Update test/jdk/tools/jpackage/clean_stashed_files.sh and test/jdk/tools/jpackage/clean_test_output.sh scripts
>  - CannedFormattedString: make it implement CannedArgument; add `addPrefix()`, and `mapArgs()`
>  - JPackageCommand: add `makeError()` and `makeAdvice()`
> 
> Additionally:
>  - Add a test case to the AppImagePackageTest test to test that jpackage placed launcher .so in the correct location when using the predefined app image and installing the "/usr" tree on Linux
>  - Reduce code duplication in LauncherAsServiceVerifier.java

This pull request has now been integrated.

Changeset: f9127720
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f9127720459017bb250327dcd3e5c51316536068
Stats:     213 lines in 14 files changed: 146 ins; 48 del; 19 mod

8372290: jpackage test lib improvements

Reviewed-by: almatvee

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

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


More information about the core-libs-dev mailing list