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
Attachments
Issue Links
- is related to
-
HARMONY-3633 [testing] JEdit automated GUI test scenario for B&T 2.0 infrastructure
- Closed
- relates to
-
HARMONY-4635 [classlib][awt] Toolkit.setLockingKeyState() is not implemented on Linux
- Open
-
HARMONY-4636 [classlib][awt] Toolkit.getLockingKeyState() is not implemented on Linux
- Resolved
-
HARMONY-4503 [classlib][awt] Toolkit.setLockingKeyState() is not implemented
- Closed
-
HARMONY-4659 [testing] JEdit automated GUI tests use obsolete workaround for java.awt.Toolkit
- Closed