<Swing Dev> RFR: 8194126: Regression automated Test '/open/test/jdk/javax/swing/JColorChooser/Test7194184.java' fails

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Oct 16 03:40:16 UTC 2020


Please review a test fix for an issue where the color is not chosen correctly.
The issue seems to stem from the fact that keys are not processed properly so the proper color is not chosen.
Fixed by adding autoDelay during processing of key events and also made EDT change to invokeAndWait from invokeLater.
Also, move the frame to center of screen and do cleanup at finally block.
Mach5 job was run for several iteration on all 3 platforms. Link in JBS

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

Commit messages:
 - 8194126: Regression automated Test '/open/test/jdk/javax/swing/JColorChooser/Test7194184.java' fails

Changes: https://git.openjdk.java.net/jdk/pull/692/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=692&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8194126
  Stats: 17 lines in 2 files changed: 7 ins; 1 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/692.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/692/head:pull/692

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


More information about the swing-dev mailing list