Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 6760 invoked from network); 30 Sep 2010 21:55:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Sep 2010 21:55:56 -0000 Received: (qmail 79815 invoked by uid 500); 30 Sep 2010 21:55:56 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 79773 invoked by uid 500); 30 Sep 2010 21:55:55 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 79766 invoked by uid 99); 30 Sep 2010 21:55:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 21:55:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 21:55:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8ULtZPT004805 for ; Thu, 30 Sep 2010 21:55:35 GMT Message-ID: <9074839.487201285883735065.JavaMail.jira@thor> Date: Thu, 30 Sep 2010 17:55:35 -0400 (EDT) From: "Hudson (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6525) [classlib][text] DecimalFormatTest tests fail In-Reply-To: <28918149.33231274996137528.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HARMONY-6525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916699#action_12916699 ] Hudson commented on HARMONY-6525: --------------------------------- Integrated in Harmony-1.5-head-linux-x86_64 #973 (See [https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/973/]) Modify format test according to comments in HARMONY-6525 ([classlib][text] DecimalFormatTest tests fail) - I believe this is a non-bug difference and the behaviour of ICU is correct in this case. > [classlib][text] DecimalFormatTest tests fail > --------------------------------------------- > > Key: HARMONY-6525 > URL: https://issues.apache.org/jira/browse/HARMONY-6525 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M14 > Reporter: Mark Hindess > > I see four failures and 1 error on windows/x86 and linux/x86: > DecimalFormatTest test_formatDLjava_lang_StringBufferLjava_text_FieldPosition > Test 0: incorrect end index for fieldjava.text.NumberFormat$Field(currency) > expected:<1> but was:<0> > at org.apache.harmony.text.tests.java.text.Support_Format.t_FormatWithField (Support_Format.java:55) > at org.apache.harmony.text.tests.java.text.Support_DecimalFormat.t_format_with_FieldPosition (Support_DecimalFormat.java:49) > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_formatDLjava_lang_StringBufferLjava_text_FieldPosition (DecimalFormatTest.java:797) > DecimalFormatTest test_formatJLjava_lang_StringBufferLjava_text_FieldPosition > ##0.0E0: 123 expected:<12[3]E0> but was:<12[0]E0> > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_formatJLjava_lang_StringBufferLjava_text_FieldPosition (DecimalFormatTest.java:1052) > DecimalFormatTest test_formatToCharacterIteratorLjava_lang_Object > Test 1: Format returned incorrect CharacterIterator for 350.76 > at org.apache.harmony.text.tests.java.text.Support_Format.t_Format (Support_Format.java:63) > at org.apache.harmony.text.tests.java.text.Support_DecimalFormat.t_formatToCharacterIterator (Support_DecimalFormat.java:140) > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_formatToCharacterIteratorLjava_lang_Object (DecimalFormatTest.java:1112) > DecimalFormatTest test_parseLjava_lang_StringLjava_text_ParsePosition > Wrong result type multiplier 100: 9.223372036854776E16 > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_parseLjava_lang_StringLjava_text_ParsePosition (DecimalFormatTest.java:1331) > DecimalFormatTest test_getMaximumIntegerDigits > Error Unquoted special character '0' in pattern "0 0" > java.lang.IllegalArgumentException: Unquoted special character '0' in pattern "0 0" > at com.ibm.icu.text.DecimalFormat.patternError(DecimalFormat.java:4967) > at com.ibm.icu.text.DecimalFormat.applyPatternWithoutExpandAffix (DecimalFormat.java:4682) > at com.ibm.icu.text.DecimalFormat.createFromPatternAndSymbols (DecimalFormat.java:736) > at com.ibm.icu.text.DecimalFormat.(DecimalFormat.java:729) > at java.text.DecimalFormat.(DecimalFormat.java:588) > at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_getMaximumIntegerDigits (DecimalFormatTest.java:424) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.