[jdk8u-dev] RFR: 8194873: right ALT key hotkeys no longer work in Swing components [v5]

Olga Mikhaltsova omikhaltcova at openjdk.java.net
Fri Jun 3 11:00:25 UTC 2022


> 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.

Olga Mikhaltsova has updated the pull request incrementally with one additional commit since the last revision:

  Update file permission

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk8u-dev/pull/60/files
  - new: https://git.openjdk.java.net/jdk8u-dev/pull/60/files/ace410e2..d0f4a65d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk8u-dev&pr=60&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk8u-dev&pr=60&range=03-04

  Stats: 0 lines in 1 file changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk8u-dev/pull/60.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk8u-dev pull/60/head:pull/60

PR: https://git.openjdk.java.net/jdk8u-dev/pull/60


More information about the jdk8u-dev mailing list