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

Alan Bateman alanb at openjdk.org
Tue Aug 23 12:38:19 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 alanb (Reviewer).

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

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


More information about the core-libs-dev mailing list