Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4423

[classlib][awt][jedit] Toolkit.getLockingKeyState() is not implemented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Win32
    • Patch Available

    Description

      Method java.awt.Toolkit.getLockingKeyState(int) is not implemented and throws RuntimeException when called. This prevents some applications like jEdit automated GUI test scenario from running normally, see HARMONY-3633, it had to provide a special workaround patch to address this issue.

      Implementing this method may be tough as it requires writing native code, however a simple workaround patch may be created to improve compatibility while the real implementation is absent. Here I provide this patch (actually extracted from HARMONY-3633) and my suggestion is to apply it immediately.

      Attachments

        1. Harmony-4423-Workaround.patch
          0.8 kB
          Vasily Zakharov
        2. 4423_win.patch
          16 kB
          Ilya Berezhniuk
        3. 4423_win.patch
          16 kB
          Ilya Berezhniuk
        4. 4423_win.patch
          16 kB
          Ilya Berezhniuk
        5. 4423_win.patch
          16 kB
          Ilya Berezhniuk
        6. 4423_win_nosearch.patch
          15 kB
          Ilya Berezhniuk
        7. 4423_win.patch
          17 kB
          Ilya Berezhniuk
        8. 4423_win_nosearch.patch
          15 kB
          Ilya Berezhniuk
        9. 4423_win.patch
          10 kB
          Ilya Berezhniuk

        Issue Links

          Activity

            People

              cap Alexey Petrenko
              vmz Vasily Zakharov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: