Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 59837 invoked from network); 26 Jul 2006 08:19:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 08:19:39 -0000 Received: (qmail 55203 invoked by uid 500); 26 Jul 2006 08:19:39 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 55164 invoked by uid 500); 26 Jul 2006 08:19:38 -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 55153 invoked by uid 99); 26 Jul 2006 08:19:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 01:19:38 -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; Wed, 26 Jul 2006 01:19:37 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C212B41000F for ; Wed, 26 Jul 2006 08:17:16 +0000 (GMT) Message-ID: <1368136.1153901836792.JavaMail.jira@brutus> Date: Wed, 26 Jul 2006 01:17:16 -0700 (PDT) From: "Alexey A. Ivanov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-925) Test failures in TEXT on ru_RU locale In-Reply-To: <14436188.1153325476291.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-925?page=all ] Alexey A. Ivanov updated HARMONY-925: ------------------------------------- Attachment: ChoiceFormat.patch Fixes a bug in ChoiceFormat.applyPattern(). The pattern must use point as decimal separator no matter the decimal separator in the default locale. This just makes it use NumberFormat created for en_US locale to parse the pattern. > Test failures in TEXT on ru_RU locale > ------------------------------------- > > Key: HARMONY-925 > URL: http://issues.apache.org/jira/browse/HARMONY-925 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Windows > Reporter: Tim Ellison > Attachments: ChoiceFormat.patch > > > Reported on the dev list by Alexei Zakharov: > DecimalFormatTest: > ================ > Testcase: test_parseLjava_lang_String_Ljava_text_ParsePosition took 0 sec > FAILED > null > junit.framework.AssertionFailedError > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_parseLjava_lang_String_Ljava_text_ParsePosition(DecimalFormatTest.java:66) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > Testcase: test_setDecimalSeparatorAlwaysShownZ took 0 sec > FAILED > Wrong set result expected:<....> but was:<...,> > junit.framework.ComparisonFailure: Wrong set result expected:<....> > but was:<...,> > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_setDecimalSeparatorAlwaysShownZ(DecimalFormatTest.java:1361) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > Testcase: test_setMaximumFractionDigitsI took 0 sec > FAILED > Wrong maximum expected:<.......> but was:<...,...> > junit.framework.ComparisonFailure: Wrong maximum expected:<.......> > but was:<...,...> > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_setMaximumFractionDigitsI(DecimalFormatTest.java:1410) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > Testcase: test_setMinimumFractionDigitsI took 0,016 sec > FAILED > Wrong minimum expected:<.......> but was:<...,...> > junit.framework.ComparisonFailure: Wrong minimum expected:<.......> > but was:<...,...> > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_setMinimumFractionDigitsI(DecimalFormatTest.java:1436) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > Testcase: test_setMinimumIntegerDigitsI took 0 sec > FAILED > Incorrect integer expected:<.......> but was:<...,...> > junit.framework.ComparisonFailure: Incorrect integer > expected:<.......> but was:<...,...> > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_setMinimumIntegerDigitsI(DecimalFormatTest.java:1452) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > ChoiceFormatTest: > =============== > Testcase: test_toPattern took 0,016 sec > Caused an ERROR > null > java.lang.IllegalArgumentException > at java.text.ChoiceFormat.applyPattern(ChoiceFormat.java:126) > at java.text.ChoiceFormat.(ChoiceFormat.java:65) > at org.apache.harmony.text.tests.java.text.ChoiceFormatTest.test_toPattern(ChoiceFormatTest.java:421) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) -- 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