Test java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html fails on mac fails on Mac. The test fails on my local machine (macOS BigSur) always and on mach5 also. The test uses Robot for mouse clicks and there is no delay or autoDelay set on Robot.
The fix adds set autoDelay on the robot. Along with this, some other cleanup is done. The test passes after the changes on my local mac and mach5 (Link in the JBS) ------------- Commit messages: - 8198626: java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html fails on mac Changes: https://git.openjdk.java.net/jdk/pull/6273/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6273&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8198626 Stats: 54 lines in 2 files changed: 35 ins; 10 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/6273.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6273/head:pull/6273 PR: https://git.openjdk.java.net/jdk/pull/6273