Integrated: 8276651: java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0

Roger Riggs rriggs at openjdk.org
Tue Aug 23 14:39:58 UTC 2022


On Fri, 19 Aug 2022 17:05:38 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> On Mac OS X on aarch64, the timing of the sysctl vs the process life (pid) can be such that the sysctl returns EIO.
> The native implementation is modified to treat EIO the same as EINVAL, leaving the information to be returned empty.
> 
> Several tests in java/lang/ProcessHandle failed with the same cause including OnExitTest, InfoTest, and TreeTest.

This pull request has now been integrated.

Changeset: d24b7b70
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d24b7b7026cf85f1aecf44f60819762872cfd5c1
Stats:     3 lines in 1 file changed: 1 ins; 1 del; 1 mod

8276651: java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0

Reviewed-by: jpai, alanb

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

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


More information about the core-libs-dev mailing list