RFR: 8276651: java/lang/ProcessHandle/InfoTest.java failed with "RuntimeException: Input/output error"

Jaikiran Pai jpai at openjdk.org
Tue Aug 23 00:31:44 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.

Marked as reviewed by jpai (Reviewer).

Thank you for that detail, Roger. The change looks fine to me.

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

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


More information about the core-libs-dev mailing list