<AWT Dev> RFR: 8198621: java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java fails on mac

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Apr 23 08:19:40 UTC 2021


This test was failing in earlier test sprint in CI system citing java.lang.Exception: Not all expected events were received 
One of the reason could be the frame was placed at topleft corner of screen.
Modified test to move frame to center of screen. Also, frame is disposed at end.

Several iteration of test passed in all platforms.

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

Commit messages:
 - 8198621: java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java fails on mac

Changes: https://git.openjdk.java.net/jdk/pull/3649/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3649&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8198621
  Stats: 118 lines in 2 files changed: 38 ins; 28 del; 52 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3649.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3649/head:pull/3649

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


More information about the awt-dev mailing list