On Tue, 25 Nov 2025 12:13:20 GMT, Doug Lea <[email protected]> wrote:

>> test/jdk/java/util/concurrent/BlockingQueue/MissedPoll.java line 68:
>> 
>>> 66:                 if (future.get() != 0)
>>> 67:                     throw new Error();
>>> 68:             }
>> 
>> @DougLea It might make sense to assert/verify that the queue is empty at the 
>> end of the test?
>
> OK, except that it would need further adjustment to force test to fail rather 
> than getting stuck.

Ignore previous comment. I was thinking you meant  assert inside tasks. At end 
is a good idea.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28479#discussion_r2559778561

Reply via email to