harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-6334) [classlib] [text] java.text.Format#parseObject(String) does not behave as expected
Date Fri, 04 Sep 2009 12:54:57 GMT

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

Tim Ellison closed HARMONY-6334.

Sebb verified this fix privately.

> [classlib] [text] java.text.Format#parseObject(String) does not behave as expected
> ----------------------------------------------------------------------------------
>                 Key: HARMONY-6334
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6334
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M11
>            Reporter: Sebb
>            Assignee: Tim Ellison
>             Fix For: 5.0M12
> java.text.Format#parseObject(String) does not behave as expected.
> AIUI, parseObject(String) is supposed to succeed even if the full string is not parsed
successfully, i.e. so long as some part of the string has been parsed, an object should be
> However the current implementation checks for errorIndex <> -1, which seems wrong
> The Javadoc for parseObject(String, ParsePosition) does not specify that errorIndex must
be -1 for a successful parse, only that it must be set for a failed parse.

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

View raw message