harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Yu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6188) [classlib][text] Fix the failure for SimpleDateFormatTest.test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition
Date Wed, 06 May 2009 13:22:30 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jim Yu updated HARMONY-6188:
----------------------------

    Attachment:     (was: HARMONY-6188-text.diff)

> [classlib][text] Fix the failure for SimpleDateFormatTest.test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6188
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6188
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Jim Yu
>            Assignee: Tim Ellison
>             Fix For: 5.0M10
>
>         Attachments: HARMONY-6188-support.diff, HARMONY-6188-text.diff
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Currently there are four testcase failures for SimpleDateFormatTest which is in the exclude
list. The testcase test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition
is one of them. I investigated on this issue and found the failure was mainly caused by the
FieldPosition instance was unable to retrieve the correct begin and end index after format
method due to ICU requires a DateFormat.Field instance of its own. And other errors were caused
by the behavior difference between ICU and  RI. I've got a fix for this failure. The changes
of this fix are as following:
> 1. Update the format method to support FieldPosition index update after formatting.
> 2. Update the testcase of SimpleDateFormatTest to follow the ICU behavior.
> 3. Update the testcase in support module to follow the ICU behavior.
> Can anybody try this patch?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message