RFR: 8307307: Improve ProcessTools.java to don't try to run Virtual wrapper for incompatible processes [v2]
Leonid Mesnik
lmesnik at openjdk.org
Tue May 9 14:46:14 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 incrementally with one additional commit since the last revision:
fixed some params
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13808/files
- new: https://git.openjdk.org/jdk/pull/13808/files/0047016b..106be911
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13808&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13808&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 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