RFR: 8346739: jpackage tests failed after JDK-8345259
Mandy Chung
mchung at openjdk.org
Fri Dec 20 19:08:00 UTC 2024
A few jpackage tests invoke `jlink --add-modules ALL-MODULE-PATH` without `--module-path` and they now fail because of JDK-8345259 which requires `--module-path` to be set when `ALL-MODULE-PATH` is used. The fix is to add `--add-modules $JAVA_HOME/jmods` which was the default before JDK-8345259. A separate issue is needed to skip these tests when running on a linkable runtime image without the packaged modules.
-------------
Commit messages:
- 8346739: jpackage tests failed after JDK-8345259
Changes: https://git.openjdk.org/jdk/pull/22853/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22853&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8346739
Stats: 7 lines in 3 files changed: 7 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/22853.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22853/head:pull/22853
PR: https://git.openjdk.org/jdk/pull/22853
More information about the core-libs-dev
mailing list