On Thu, 4 May 2023 15:52:36 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
> The ProcessTools has some support of jtreg thread factory functionality. > It tries to run the new process using virtual thread to run `main()` method. > This fix updates it to skip the java runs where no main class is involved and > more correctly process options which has 2nd argument. > Also is sets `main.wrapper` property to allow launched process understand id > any wrappers is used. This pull request has now been integrated. Changeset: 7f05f6f7 Author: Leonid Mesnik <lmes...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/7f05f6f7c77c10dd2aed291af20664c9130e35f9 Stats: 35 lines in 2 files changed: 16 ins; 4 del; 15 mod 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes Reviewed-by: alanb ------------- PR: https://git.openjdk.org/jdk/pull/13808