<AWT Dev> [9] Review Request: 8041990 [macosx] Language specific keys does not work in applets when opened outside the browser

Petr Pchelko petr.pchelko at oracle.com
Tue May 27 21:32:13 UTC 2014


Hello, Phil.

> Is there not some (bad) implication of  returning 0 for the time ?
I don’t know why wasn’t this used initially, but now public JavaDoc states that 
EventQueue.mostRecentEventTime is used to initialize time, so we can’t change that.
(see InputMethodEvent:185 for example)

With best regards. Petr.

On May 28, 2014, at 1:21 AM, Phil Race <philip.race at oracle.com> wrote:

> Is there not some (bad) implication of  returning 0 for the time ?
> 
> -phil.
> 
> On 5/27/14 8:45 AM, Petr Pchelko wrote:
>> Hello, AWT Team.
>> 
>> Please review a next AppContext issue:
>> https://bugs.openjdk.java.net/browse/JDK-8041990
>> The fix is available at:
>> http://cr.openjdk.java.net/~pchelko/9/8041990/webrev/
>> 
>> When non-latin characters a typed AWT tries to check if InputMethods are going to handle the key event.
>> To do it we create an InputMethodEvent on Appkit thread which fails with NPE due to lack of AppContext.
>> 
>> Thank you.
>> With best regards. Petr.
> 



More information about the awt-dev mailing list