RFR: 8297454: javax/swing/JComponent/7154030/bug7154030.java failed with "Exception: Failed to show opaque button"

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Jan 25 06:48:33 UTC 2023


Test intermittently failed in CI macos system owing to robot screencapture failing to compare the images.
Seems like from artifacts, that composite image created by robot contains mouse cursor, which when compared are not giving exact pixel color. This has occurred in the past also for some tests for which we have made the mouseMove to move mouse cursor outside the area being captured for pixel comparison.
Similar fix is done whereby mouse is moved to outside the captured area. Several iterations in CI are ok.

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

Commit messages:
 - 8297454: javax/swing/JComponent/7154030/bug7154030.java failed with Exception: Failed to show opaque button

Changes: https://git.openjdk.org/jdk/pull/12179/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12179&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297454
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12179.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12179/head:pull/12179

PR: https://git.openjdk.org/jdk/pull/12179



More information about the client-libs-dev mailing list