On Tue, 25 Aug 2026 13:06:09 GMT, Viktor Klang <[email protected]> wrote:
>> --------- >> - [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/GetMultipleWaiters.java line 87: > >> 85: throw new RuntimeException("expected " + >> expected.getSimpleName() + ", got " + thrown[0]); >> 86: } >> 87: } > > Thanks for reporting and submitting a potential fix for this issue, @fmeum! > > I'd prefer if this was a junit regression test, that the different > permutations were separated (to make it easier to comprehend), and that the > test cleans up after itself (rather than using daemonicity). > > Is this something you'd like to take a stab at, or do you want me to propose > how the regression test could look as described above? I made the three changes you requested, happy to change this further. I also shortened the sleep durations as I bet the state would usually progress faster. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32485#discussion_r3854308475
