<AWT Dev> RFR: 8198616: java/awt/Focus/6378278/InputVerifierTest.java fails on mac

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Apr 29 09:30:01 UTC 2021


This test was failing earlier in our nightly testing citing "jjava.lang.RuntimeException: t2 is not a focus owner 

Updated test to
use swing components in EDT,
setAutoDelay for mouse events,
add a delay after frame is made visible,
move the frame to center of screen
and dispose of the frame finally.

Several iterations of the test pass in all platforms. Link in JBS.

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

Commit messages:
 - 8198616: java/awt/Focus/6378278/InputVerifierTest.java fails on mac

Changes: https://git.openjdk.java.net/jdk/pull/3792/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3792&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8198616
  Stats: 121 lines in 2 files changed: 49 ins; 35 del; 37 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3792.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3792/head:pull/3792

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


More information about the awt-dev mailing list