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-1866) [test][swing] j.s.t.StyleConstantsTest fails
Date Fri, 13 Oct 2006 13:58:25 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1866?page=all ]

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

    Attachment: H1866-StyleConstantsTest.patch

String comparison is replaced with checking the number of attributes in AttributeSet and checking
values of those attributes.

Also code creating swing components was moved to Event Dispatch Thread becuase non-thread-safe
nature of swing components. This modification is aimed to minimize possible deadlocks.

> [test][swing] j.s.t.StyleConstantsTest fails
> --------------------------------------------
>
>                 Key: HARMONY-1866
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1866
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Alexey A. Ivanov
>         Attachments: H1866-build.xml.patch, H1866-StyleConstantsTest.patch
>
>
> From time to time unit test test javax.swing.text.StyleConstantsTest fails.
> The reason of failure is comparing of text representation of AttributeSet with a string,
which is not robust since the order of attribute keys (which are used to generate string representation)
may change, thus leading the test to fail.

-- 
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