harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4423) [classlib][awt][jedit] Toolkit.getLockingKeyState() is not implemented
Date Sun, 05 Aug 2007 00:45:59 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517734
] 

Ilya Berezhniuk commented on HARMONY-4423:
------------------------------------------

Vasily,
I thought about it, but as far as I can see AWT usually uses strings like "Messages.getString("awt.XXX"))"
for exceptions. Unfortunately, I don't know where to add appropriate string.
If so, and if you know where to add string into string table, you can prepare additional patch
for Toolkit.java, which will apply over both '4423_win.patch' and '4423_win_nosearch.patch'.

If adding simple string right into java code is acceptable, I'll update patches.

> [classlib][awt][jedit] Toolkit.getLockingKeyState() is not implemented
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-4423
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4423
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Vasily Zakharov
>            Assignee: Alexey Petrenko
>         Attachments: 4423_win.patch, 4423_win.patch, 4423_win.patch, 4423_win.patch,
4423_win_nosearch.patch, Harmony-4423-Workaround.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message