RFR: 8315701: [macos] Regression: KeyEvent has different keycode on different keyboard layouts [v2]

Victor Dyakov vdyakov at openjdk.org
Wed Nov 29 18:28:06 UTC 2023


On Thu, 16 Nov 2023 18:24:07 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   updated test to provide information on which key was pressed
>
> test/jdk/java/awt/event/KeyEvent/AcceleratorTest/AcceleratorTest.java line 1:
> 
>> 1: /*
> 
> Is it possible to print which particular event fired? It could be useful for debugging.
> 
> I'd create a list of `Action`s with the names and shortcuts (as a KeyStroke and as string for printing) and then print each action name with corresponding shortcut. Or create a list of objects with corresponding data. I didn't think it through.

@aivanov-jdk please review

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16664#discussion_r1409704513


More information about the client-libs-dev mailing list