RFR: 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes [v3]

Alan Bateman alanb at openjdk.org
Tue May 9 17:31:35 UTC 2023


On Tue, 9 May 2023 17:25:57 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.
>
> Leonid Mesnik has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
> 
>  - excluded failed tests
>  - Merge branch 'master' of https://github.com/openjdk/jdk into 8307307
>  - fixed some params
>  - 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13808#pullrequestreview-1419132721


More information about the core-libs-dev mailing list