On Wed, 15 Feb 2023 09:55:04 GMT, Eirik Bjorsnos <d...@openjdk.org> wrote:

> The habit of opening resources in a TwR is hard to break, but I guess it's ok 
> for a test like this. I have inlined the method and removed the TwR.

Agree, thanks for addressing the suggestion as it makes the test cleaner given 
expects/assertThrows should  react to the Exception being thrown by `new 
ZipFile(...)`

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

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

Reply via email to