<Swing Dev> RFR: 8163367: Test javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java javax/swing/JComboBox/8033069/bug8033069ScrollBar.java fails intermittently [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Apr 27 10:32:37 UTC 2021
On Tue, 27 Apr 2021 06:22:03 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:
>
> Incorporate review comments
test/jdk/javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java line 64:
> 62:
> 63: volatile private Point p;
> 64: volatile private Dimension d;
Suggestion:
private volatile Point p;
private volatile Dimension d;
-------------
PR: https://git.openjdk.java.net/jdk/pull/3678
More information about the swing-dev
mailing list