On Wed, 20 Apr 2022 10:03:10 GMT, Alexander Zvegintsev <[email protected]>
wrote:
>> I am not able to reproduce this observation. Anyway, I have added dispose in
>> finally block
>
> It is because the test is not failing right now, you can change `>` to `<`
> in `if (0 > this.test.getSelectedIndex()) {` to fail the test.
>
> It will still hang after latest modifications when launched with `java
> Test8019180.java` because of `LATCH` is still awaiting for its `countdown`
> (which is not called after throwing an exception).
>
> It is not an issue if you run it with jtreg.
ok modified test.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8293