On Tue, 10 Sep 2024 07:21:47 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Several tests modified by https://github.com/openjdk/jdk/pull/19339 have 
>> been tweaked, see inline comments.
>> 
>> Notes:
>>  * We have a few XXXRepaint.java tests and in this patch, I updated all of 
>> them to follow the change added to the ListRepaint.java
>> 
>> @azvegint @aivanov-jdk please take a look.
>
> Sergey Bylokhov has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Update bug4490179.java

test/jdk/javax/swing/JButton/bug4490179.java line 86:

> 84:             robot.mousePress(InputEvent.BUTTON3_DOWN_MASK);
> 85:             robot.mouseRelease(InputEvent.BUTTON3_DOWN_MASK);
> 86:             if (anyButton.await(3, TimeUnit.SECONDS)) {

`await` is also throws the `InterruptedException`, so theoretically we can 
leave the mouse button pressed in this case.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20861#discussion_r1752313753

Reply via email to