<Swing Dev> [9] Review request for 8130772: Util.hitMnemonics does not work: getSystemMnemonicKeyCodes() returns ALT_MASK rather than VK_ALT
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Jul 9 12:11:21 UTC 2015
Looks fine.
On 09.07.15 15:03, Alexey Ivanov wrote:
> Hello Swing team,
>
> Could you please review the fix:
> JBS: https://bugs.openjdk.java.net/browse/JDK-8130772
> webrev: http://cr.openjdk.java.net/~aivanov/8130772/jdk9/webrev.00/
>
> Description:
> Util.hitMnemonics does not work because the new implementation of
> Util.getSystemMnemonicKeyCodes adds KeyEvent.ALT_MASK rather than
> KeyEvent.VK_ALT.
>
> Fix:
> Use KeyEvent.VK_ALT.
>
> Tests that depend on Util.hitMnemonics pass after the fix is applied.
>
> Thanks,
> Alexey
--
Best regards, Sergey.
More information about the swing-dev
mailing list