Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8321042

Test java/awt/event/KeyEvent/AcceleratorTest/AcceleratorTest.java fails on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 11, 17, 18, 22
    • client-libs

    Description

      The test/jdk/java/awt/event/KeyEvent/AcceleratorTest/AcceleratorTest.java test fails on macOS, not all the actions can be performed.

      The cases 2 and 5 do not work for me. I use a PC layout for Russian on Mac, period in this Russian layout is on "/?" key but pressing Ctrl+(/?) doesn't fire the event. Nor is the event fired when I press Alt+Ю (key with ".>").

      Additionally, pressing Alt+Ж fires the event but the printed command is "«" instead of "ж".

      The fix for JDK-8315701 has resolved the issue with Ctrl+N: it works with the fix but doesn't without it.

      * It's a follow-up from JDK-8315701 code review: https://github.com/openjdk/jdk/pull/16664#pullrequestreview-1735155100

      Attachments

        Issue Links

          Activity

            People

              achung Alisen Chung
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: