8226242 : Diagnostic output for posix_spawn failure
Thomas Stüfe
thomas.stuefe at gmail.com
Mon Jun 17 17:08:17 UTC 2019
Hi Roger,
thanks for taking care of this!
I think WIFSIGNALED is just a bool though; to get the terminating signal,
you need to use WTERMSIG. Strictly speaking, WEXISTSTATUS is only valid if
WIFEXITED!=0 and WTERMSIG only if WIFSIGNALLED!=0; I think they are
undefined otherwise.
Cheers, Thoams
On Mon, Jun 17, 2019 at 6:04 PM Roger Riggs <Roger.Riggs at oracle.com> wrote:
> Please review adding diagnostic information to the native code handing
> failures
> to exec the jspawnhelper. Some information about the child process
> status can be included.
>
> Jira:
> diag task: https://bugs.openjdk.java.net/browse/JDK-8226242
> Issue: https://bugs.openjdk.java.net/browse/JDK-8226192
>
> Webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-spawn-diag-8225192/
>
> Thanks, Roger
>
More information about the core-libs-dev
mailing list