Unable to start process using Runtime - Solved
Michael Franz
mvfranz at gmail.com
Sat Oct 25 13:55:36 PDT 2008
Martin,
Here are the changes that work for OS X.
Michael
On Sat, Oct 25, 2008 at 12:47 PM, Martin Buchholz <martinrb at google.com>wrote:
> Hi Michael,
>
> I am the author of the changes to UNIXProcess_md.c.
> File descriptor 3 is used to communicate any cause of failure
> back to the parent process.
>
> One might think that the openjdk7 code would work on
> BSD because if the standard way of opening /proc/self/fd,
> it falls back to closing all descriptors up to sysconf(_SC_OPEN_MAX),
> which one would think the BSDs would have implemented.
>
> In any case, even if the current jdk7 code doesn't work on BSD,
> it should be easy to create a small patch to it that would be
> portable to more Unix systems, that could be accepted upstream.
> I would be willing to review.
>
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081025/6ebbc835/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unixprocess_md.patch
Type: application/octet-stream
Size: 1321 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081025/6ebbc835/unixprocess_md.patch
More information about the bsd-port-dev
mailing list