On Fri, 6 Jan 2023 13:11:41 GMT, Kevin Walls <kev...@openjdk.org> wrote:

> Exceptions during setup of these tests could leave e.g. JMXConnector cs as 
> null.
> But, we call cs.close() during a finally block and fail with an NPE, 
> obscuring the real failure.
> We must only call close if this is not null.

Looks good.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

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

Reply via email to