Integrated: 8358017: Various enhancements of jpackage test helpers
Alexey Semenyuk
asemenyuk at openjdk.org
Thu May 29 21:47:55 UTC 2025
On Wed, 28 May 2025 03:35:40 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> Various enhancements of jpackage test helpers:
> - Can run fa tests when JAVA_TOOL_OPTIONS env variable contains `--module-path` option. This change makes support for `jpackage.test.clear-app-launcher-java-env-vars` system property redundant.
> - Rework JUnitAdapter to make it run jpackage TestInstance objects as JUnit5 DynamicTest tests. This integrates jpackage test runs in IDEs (Verified with Eclipse IDE).
> - Make jpackage tests fail fast when they are executed by JUnit test runner.
> - Applied `./bin/blessed-modifier-order.sh` script on jpackage test helpers.
> - Support loading jpackage tests from a custom classloader.
> - Add support for using a custom ToolProvider implementation of jpackage with JPackageCommand.
>
> The last two features are not currently in use. They were picked from the work-in-progress [JDK-8333727](https://bugs.openjdk.org/browse/JDK-8333727).
This pull request has now been integrated.
Changeset: a05f9dea
Author: Alexey Semenyuk <asemenyuk at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a05f9dea18ec812abad1dbe0084c0c58384a9076
Stats: 199 lines in 13 files changed: 120 ins; 27 del; 52 mod
8358017: Various enhancements of jpackage test helpers
Reviewed-by: almatvee
-------------
PR: https://git.openjdk.org/jdk/pull/25479
More information about the core-libs-dev
mailing list