RFR: 8339487: ProcessHandleImpl native exceptions - include message text and last error information
Matthias Baesken
mbaesken at openjdk.org
Tue Sep 3 14:48:21 UTC 2024
On Tue, 3 Sep 2024 14:37:04 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> ProcessHandle.children doesn't specify RuntimeException so I assume that needs to be looked into.
Should we add RuntimeException to the javadoc ?
Or throw some other exception ?
But I think the behavior is present for some time, it can happen that sysctl occasionally/seldom fails for various reasons.
We saw this 2-3 times per year in out tests.
But then a clearer exception would be helpful.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20839#issuecomment-2326719248
More information about the core-libs-dev
mailing list