RFR: 8325567: jspawnhelper without args fails with segfault

Vladimir Petko vpetko at openjdk.org
Thu Mar 7 03:34:52 UTC 2024


On Wed, 6 Mar 2024 09:26:08 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> ```
>   Process p = ProcessTools.startProcess(...);
>   OutputAnalyzer oa = new OutputAnalyzer(p);
>   oa.shouldNotHaveExitValue(0);
>   oa.shouldContain("This command is not for general use");
> ```
Thank you! This shortens things quite a bit[1]

[1] https://github.com/openjdk/jdk/commit/bb65fc8551ae759df88171463445ecdb9676eed3

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

PR Comment: https://git.openjdk.org/jdk/pull/18112#issuecomment-1982286476


More information about the core-libs-dev mailing list