On Tue, 17 Dec 2024 13:10:51 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Latch update
>
> test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java line 59:
> 
>> 57: 
>> 58:             SwingUtilities.invokeAndWait(() -> sbar.pressMouse());
>> 59:             latch.await();
> 
> You should use timed `await` and throw an exception if the wait times out. 
> This way the timeout would be handled more gracefully… and more quickly, a 
> two-second timeout should be enough.

updated..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22783#discussion_r1889541835

Reply via email to