Menu mnemonic doesn't toggle between show and hide state when F10 is pressed. Behavior is not similar to windows native application. Fix is to ensure that menu mnemonic state toggles between show and hide.
Can be verified with SwingSet2 application. CI tests are green with the fix. Link posted in JBS. ------------- Commit messages: - Menu mnemonic F10 button press fix Changes: https://git.openjdk.org/jdk/pull/17961/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17961&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8326458 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/17961.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17961/head:pull/17961 PR: https://git.openjdk.org/jdk/pull/17961