[jdk8u-dev] Integrated: 8194873: right ALT key hotkeys no longer work in Swing components
Olga Mikhaltsova
omikhaltcova at openjdk.org
Mon Jul 11 11:15:54 UTC 2022
On Tue, 17 May 2022 18:31:23 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:
> I'd like to backport JDK-8194873 to jdk8u. The same issue is observed there.
> The original patch for JDK-8194873 applied not cleanly due to 2 files:
>> MotifLookAndFeel.java - differences in the header and in the context;
>> SwingUtilities2.java - difference in the context.
>
> The backport for JDK-8155742
>
> 8155742: [Windows] robot.keyPress(KeyEvent.VK_ALT_GRAPH) throws java.lang.IllegalArgumentException in windows
>
> was included as a part of this patch due to dependency on it of the regression test "jdk/test/javax/swing/event/RightAltKeyTest.java" included into the patch for JDK-8194873 (this test fails without the patch for JDK-8155742 as was pointed out below by Anton Litvinov).
> The original patch For JDK-8155742 applied not cleanly due to 1 file:
>> AltGraphModifierTest.java - differences in the header and slight in the context.
>
> Tested on Windows. All regular tests passed.
This pull request has now been integrated.
Changeset: de9f1497
Author: Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL: https://git.openjdk.org/jdk8u-dev/commit/de9f14976a285fcf1ea073c374582d6965e4f0dd
Stats: 401 lines in 14 files changed: 372 ins; 11 del; 18 mod
8194873: right ALT key hotkeys no longer work in Swing components
8155742: [Windows] robot.keyPress(KeyEvent.VK_ALT_GRAPH) throws java.lang.IllegalArgumentException in windows
Reviewed-by: alitvinov, yan, serb
Backport-of: 91f281c8d713e489ddc282f935ebd879485c4b41
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/60
More information about the jdk8u-dev
mailing list