Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 89059 invoked from network); 13 Oct 2006 13:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 13:59:25 -0000 Received: (qmail 46862 invoked by uid 500); 13 Oct 2006 13:59:10 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 46841 invoked by uid 500); 13 Oct 2006 13:59:10 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 46829 invoked by uid 99); 13 Oct 2006 13:59:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 06:59:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 06:59:09 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E90F714313 for ; Fri, 13 Oct 2006 06:58:25 -0700 (PDT) Message-ID: <6402894.1160747905515.JavaMail.jira@brutus> Date: Fri, 13 Oct 2006 06:58:25 -0700 (PDT) From: "Alexey A. Ivanov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1866) [test][swing] j.s.t.StyleConstantsTest fails In-Reply-To: <22440096.1160747895633.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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