> I've reviewed the tests in `tests/jdk/java/lang/ProcessBuilder` for issues > where a specific `launchMechanism` mode is explicitly requested for running a > test, but is not honoured by other jvm processes spawned by the test runner. > > I found two issues: > - In `Basic.java` where the specified value for > `jdk.lang.Process.launchMechanism` isn't propagated to descendant java > processes. > - In `InvalidWorkDir.java`, where the posix_spawn test run incorrectly runs > in fork mode. > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Frederic Thevenet has updated the pull request incrementally with one additional commit since the last revision: Avoid empty cmd line arguments (not side effect-free in this test) ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31126/files - new: https://git.openjdk.org/jdk/pull/31126/files/461ce26e..c848f0e4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31126&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31126&range=00-01 Stats: 18 lines in 1 file changed: 3 ins; 5 del; 10 mod Patch: https://git.openjdk.org/jdk/pull/31126.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31126/head:pull/31126 PR: https://git.openjdk.org/jdk/pull/31126
