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 <[email protected]> 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.
> 

Reply via email to