RFR: JDK-8310265: (process) jspawnhelper should not use argv[0] [v2]
David Holmes
dholmes at openjdk.org
Wed Jun 21 07:58:12 UTC 2023
On Tue, 20 Jun 2023 16:27:38 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> I wondered about this, it looked so deliberate. So I wondered whether jspawnhelper is used outside of the posix_spawn context, but cannot find anything. Maybe historic?
>
> I'm not aware of any other uses either; its not intended to be used outside of ProcessImpl especially since the addition of the new protocol to communicate parameters and confirm launching of the child.
This curiosity has been present since Rob's first version:
https://mail.openjdk.org/pipermail/core-libs-dev/2012-November/012417.html
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14531#discussion_r1236549488
More information about the core-libs-dev
mailing list