On Wed, 3 Jan 2024 09:51:24 GMT, Stefan Karlsson <stef...@openjdk.org> wrote:
> Most functions in ProcessTools are declared to throw Exceptions, or one of > its subclasses. However, there are a small number of functions that are > unnecessarily declared to throw Throwable instead of Exception. I propose > that we change them to also be declared to throw Exception. > > This is a trivial patch to make it easier to refactor tests to use the > updated functions. > > Tested manually, but will wait for GHA to verify that the change is OK. Seems fine and trivial. As long as this compiles it is correct. ------------- Marked as reviewed by dholmes (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/17240#pullrequestreview-1801895740