On Tue, 15 Apr 2025 13:09:31 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:

> Please review this trivial test-only fix. A new test introduced with 
> [JDK-8353267](https://bugs.openjdk.org/browse/JDK-8353267) runs `jlink` using 
> the `ToolProvider` API in-process. This is problematic for JEP 493 enabled 
> builds which don't allow to be run on a patched JDK. Note that JTREG patches 
> the JDK's `java.base` module with `JTRegModuleHelper` class. The fix is to 
> run in `othervm` instead.
> 
> Testing:
> - [ ] GHA
> - [x] jlink tests on a build with `--enable-linkable-runtime`. Shows the 
> failure before and passes after.
> 
> Thoughts?

okay

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24661#pullrequestreview-2768311359

Reply via email to