harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][awt] Toolkit.getLockingKeyState() is not implemented
Date Wed, 11 Jul 2007 16:39:11 GMT
Zakharov, Vasily M wrote:
> I was trying to run jEdit automated tests (see HARMONY-3633), and found
> that it uses a special run-time patch to classlib to overcome the
> RuntimeException that is always being thrown from
> java.awt.Toolkit.getLockingKeyState() method, as it's not implemented.
> As Stepan Mishura suggested in that JIRA, I think that though this
> method needs to be implemented properly, a temporal workaround could
> make Harmony more compatible for now. So I've filed a HARMONY-4423 issue
> for that problem and created a temporal workaround patch that replaces
> "throw RuntimeException" with "return false" in that method.
> I think it would be good to commit this patch right now. Any objections?

You should modify the method signature with a throws

which will serve as a flag that this is a stub, and will be recognized
by JAPI tools as such.

Or you could just implement it ;-)


View raw message