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

Pankaj Bansal pbansal at openjdk.java.net
Tue Apr 27 06:22:03 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3678/files
  - new: https://git.openjdk.java.net/jdk/pull/3678/files/b726d76a..5cb06612

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3678&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3678&range=00-01

  Stats: 17 lines in 1 file changed: 6 ins; 8 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3678.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3678/head:pull/3678

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


More information about the swing-dev mailing list