Integrated: 8325567: jspawnhelper without args fails with segfault

Elif Aslan duke at openjdk.org
Fri Mar 8 22:12:07 UTC 2024


On Mon, 4 Mar 2024 21:19:26 GMT, Elif Aslan <duke at openjdk.org> wrote:

> This change is intended to address the segmentation fault issue that occurs when jspawnhelper is called without arguments,.
> There is a new test added  to verify the behavior in such cases.
> 
> `[ec2-user at ip-172-16-0-10 jdk]$ make CONF=linux-x86_64-server-fastdebug test TEST=test/jdk/java/lang/ProcessBuilder/JspawnhelperWarnings.java`
> 
> 
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR
>    jtreg:test/jdk/java/lang/ProcessBuilder/JspawnhelperWarnings.java
>                                                          1     1     0     0
> ==============================
> TEST SUCCESS

This pull request has now been integrated.

Changeset: 26274709
Author:    Elif Aslan <elifasln at amazon.com>
Committer: Evgeny Astigeevich <eastigeevich at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/262747094670b00ac63463a059074afa9b81d8a4
Stats:     62 lines in 2 files changed: 62 ins; 0 del; 0 mod

8325567: jspawnhelper without args fails with segfault

Co-authored-by: Vladimir Petko <vpetko at openjdk.org>
Reviewed-by: eastigeevich, rriggs, shade, vpetko

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

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


More information about the core-libs-dev mailing list