RFR: 8346324: javax/swing/JScrollBar/4865918/bug4865918.java fails in CI [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Dec 18 03:05:16 UTC 2024
On Tue, 17 Dec 2024 13:10:51 GMT, Alexey Ivanov <aivanov at 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
More information about the client-libs-dev
mailing list