Integrated: 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes
Leonid Mesnik
lmesnik at openjdk.org
Tue May 9 18:09:27 UTC 2023
On Thu, 4 May 2023 15:52:36 GMT, Leonid Mesnik <lmesnik at 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 <lmesnik at 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
More information about the core-libs-dev
mailing list