Clear the kCGEventFlagMaskSecondaryFn flag if it is set before posting keyboard events to the system queue.
------------- Commit messages: - 8273506: java Robot API did the 'm' keypress and caused /awt/event/KeyEvent/KeyCharTest/KeyCharTest.html is timing out on macOS 12 Changes: https://git.openjdk.java.net/jdk/pull/8320/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8320&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8273506 Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/8320.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8320/head:pull/8320 PR: https://git.openjdk.java.net/jdk/pull/8320