<Swing Dev> RFR: 8163367: Test javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java javax/swing/JComboBox/8033069/bug8033069ScrollBar.java fails intermittently [v3]

Alexey Ivanov aivanov at openjdk.java.net
Tue Apr 27 11:19:38 UTC 2021


On Tue, 27 Apr 2021 11:11:07 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:

>> The tests a javax/swing/JComboBox/8033069/bug8033069ScrollBar.java and javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java fails intermittently. The tests have a few problems which could cause this behaviour and the are being fixed here.
>> 
>> 1. Test access the Swing components without EDT thread at couple of places.
>> 2. Test is not calling waitForIdle or delay after Robot.mouseMove operations.
>> 
>> There is some additional cleanup done in the fix and moved the frame in centre. The tests pass with multiple iterations on CI. Link in the JBS.
>
> Pankaj Bansal has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/jdk/javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java
>   
>   Review comments
>   
>   Co-authored-by: Alexey Ivanov <70774172+aivanov-jdk at users.noreply.github.com>

Marked as reviewed by aivanov (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/3678


More information about the swing-dev mailing list