You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/09/03 15:58:57 UTC
[jira] Updated: (HARMONY-6334) [classlib] [text]
java.text.Format#parseObject(String) does not behave as expected
[ https://issues.apache.org/jira/browse/HARMONY-6334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison updated HARMONY-6334:
---------------------------------
Summary: [classlib] [text] java.text.Format#parseObject(String) does not behave as expected (was: java.text.Format#parseObject(String) does not behave as expected)
> [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
>
> 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 returned.
> 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.