RFR: 8273578: javax/swing/JMenu/4515762/bug4515762.java fails on macOS 12 [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Thu Sep 23 05:12:46 UTC 2021
> The test sometimes fail on macos12 citing "Action has not been received". Seems like some key events sometimes are not received reliably.
> Proposed fix is to apply mach5 stability fixes which is to set autodelay to 100ms, move frame to center of screen from top-left, added extra waitForIdle(), wait for 1 sec after frame is made visible.
> Additionally, it is seen that it mixes Util.hitKeys and robot.keyPress/Release. Changed to make it use robot.keyPress/keyRelease all times. Also, updated test to have specific error message for specific keyevent so that we know which keyevent is not received in case it fails again.
>
> Run on mac12 and all other platforms multiple times and test run is green. Link in JBS.
Prasanta Sadhukhan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Problemlist update
- Merge branch 'master' of https://git.openjdk.java.net/jdk into JDK-8273578
- 8273578: javax/swing/JMenu/4515762/bug4515762.java fails on macOS 12
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5564/files
- new: https://git.openjdk.java.net/jdk/pull/5564/files/ff8796ce..23c57e06
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5564&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5564&range=00-01
Stats: 20445 lines in 515 files changed: 14665 ins; 2582 del; 3198 mod
Patch: https://git.openjdk.java.net/jdk/pull/5564.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5564/head:pull/5564
PR: https://git.openjdk.java.net/jdk/pull/5564
More information about the client-libs-dev
mailing list