On Tue, 3 Sep 2024 14:46:00 GMT, Matthias Baesken <mbaes...@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 
> ?

Are the cases that you ran into all due to allocation failing? In many areas of 
the libraries, the JNI code throws OOME when a native allocation fails (which 
can be confusing as it's not Java heap but there isn't another error to throw).

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

PR Comment: https://git.openjdk.org/jdk/pull/20839#issuecomment-2326826055

Reply via email to