Integrated: 8347124: Clean tests with --enable-linkable-runtime
Severin Gehwolf
sgehwolf at openjdk.org
Fri Jan 10 10:09:51 UTC 2025
On Wed, 8 Jan 2025 14:24:25 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this trivial test-only patch in support of running tests on JEP 493 enabled builds. Both tests use the `ToolProvider` API so as to run `jlink` in-process of the test JVM which includes module patches (as in - uses `--patch-module`) which is not supported for JEP 493 enabled JDKs. The proposed fix is to run those two tests in `/othervm` so as to no longer see the module patch of the test JDK.
>
> Testing:
> - [x] GHA
> - [x] Affected tests which fail prior the patch and pass after with a JEP 493 enabled JDK. Also tested on a JDK that includes `jmods` folder.
>
> Thoughts?
This pull request has now been integrated.
Changeset: 1f457977
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1f457977f062e4ed219c6fa0fe26cb42acaf4bf2
Stats: 14 lines in 2 files changed: 10 ins; 0 del; 4 mod
8347124: Clean tests with --enable-linkable-runtime
Reviewed-by: shade, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/22969
More information about the hotspot-jfr-dev
mailing list