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. This pull request has now been integrated. Changeset: 868f8745 Author: Stefan Karlsson <stef...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/868f8745faf70c915d8294ae8f85b2d6aa096900 Stats: 6 lines in 1 file changed: 0 ins; 2 del; 4 mod 8322920: Some ProcessTools.execute* functions are declared to throw Throwable Reviewed-by: dholmes, lmesnik ------------- PR: https://git.openjdk.org/jdk/pull/17240