Harmony
  1. Harmony
  2. HARMONY-4423

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Win32
    • Patch Info:
      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Alexey Petrenko
              Reporter:
              Vasily Zakharov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development