On Mon, 19 Oct 2026 22:55:03 GMT, Viktor Klang <[email protected]> wrote:
> This PR ensures that the failing test does not leak threads between each > iteration, which could lead to timeouts. > > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). test/jdk/java/util/concurrent/forkjoin/AsyncShutdownNowInvokeAnyRace.java line 139: > 137: throw new AssertionError(detail, ex); > 138: } > 139: } finally { Alternatively change the outer `try` to `try (pool)` as close will do the shutdown and wait for the threads to terminate. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/33453#discussion_r4322427346
