RFR: 8325567: jspawnhelper without args fails with segfault [v7]
Aleksey Shipilev
shade at openjdk.org
Thu Mar 7 17:28:58 UTC 2024
On Thu, 7 Mar 2024 17:13:12 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
>
> Elif Aslan has updated the pull request incrementally with one additional commit since the last revision:
>
> Add args[0] back
I am good with this version.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18112#pullrequestreview-1923081130
More information about the core-libs-dev
mailing list