In SwingSet2 application, "File" menu has a visible mnemonic set on F.
 Now, in MacOS, with Aqua, Java (Metal), and Motif LaF, one can open the menu pressing Ctrl+Alt+F. But with Nimbus L&F, to open File menu, you have to press Alt+F even on OS X. It should work with Ctrl+Alt+F as sun/lwawt/macosx/LWCToolkit.java. getFocusAcceleratorKeyMask() has CTRL_MASK | ALT_MASK Fix is to add Menu.shortcutKeys in SynthLookAndFeel default table so that it can call SwingUtilities2.getSystemMnemonicKeyMask() which will call either LWCToolkit.getFocusAcceleratorKeyMask() or SunToolkit.getFocusAcceleratorKeyMask() depending on platform. No regression test is added as it can be checked with SwingSet2 app. ------------- Commit messages: - [macosx] In Nimbus LaF, Ctrl+Alt mnemonic doesn't work Changes: https://git.openjdk.org/jdk/pull/9488/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9488&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8064787 Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/9488.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9488/head:pull/9488 PR: https://git.openjdk.org/jdk/pull/9488
