harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2412) [classlib][awt] j.a.EventQueue.getCurrentEvent() returns null inside invokeAndWait()
Date Mon, 04 Dec 2006 12:08:22 GMT
     [ 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

        

Mime
View raw message