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

Leonid Mesnik lmesnik at openjdk.org
Tue May 9 17:25:57 UTC 2023


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13808/files
  - new: https://git.openjdk.org/jdk/pull/13808/files/106be911..bbe57f2a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13808&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13808&range=01-02

  Stats: 21542 lines in 477 files changed: 14730 ins; 3355 del; 3457 mod
  Patch: https://git.openjdk.org/jdk/pull/13808.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13808/head:pull/13808

PR: https://git.openjdk.org/jdk/pull/13808


More information about the core-libs-dev mailing list