On Mon, 11 May 2026 17:38:21 GMT, Frederic Thevenet <[email protected]> 
wrote:

> 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).

This pull request has now been integrated.

Changeset: 976297de
Author:    Frederic Thevenet <[email protected]>
Committer: Thomas Stuefe <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/976297dec660de7e625c7973ad75373e12fc5928
Stats:     17 lines in 2 files changed: 11 ins; 0 del; 6 mod

8378583: (process) ProcessBuilder tests that span deeper trees must pass 
launchMechanism to their children

Reviewed-by: stuefe, bchristi

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

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

Reply via email to