You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/04 13:08:22 UTC

[jira] Updated: (HARMONY-2412) [classlib][awt] j.a.EventQueue.getCurrentEvent() returns null inside invokeAndWait()

     [ http://issues.apache.org/jira/browse/HARMONY-2412?page=all ]

Alexey A. Ivanov updated HARMONY-2412:
--------------------------------------

    Attachment: H2412-EventQueueTest.patch

I've created a regression test case which fail on Harmony:

java.awt.EventQueueTest
testInvokeAndWait(java.awt.EventQueueTest)
junit.framework.AssertionFailedError
	at java.awt.EventQueueTest.testInvokeAndWait(EventQueueTest.java:32)

That is assertNotNull(event) fails.

> [classlib][awt] j.a.EventQueue.getCurrentEvent() returns null inside invokeAndWait()
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2412
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2412
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: H2412-EventQueueTest.patch
>
>
> java.awt.EventQueue.invokeAndWait is implemented by posting an instance of InvocationEvent to the event queue. When the Runnable is executed the current event in the EventQueue is null on Harmony.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira