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.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|23h 31m||1||Tim Ellison||04/Sep/09 12:53|
|17s||1||Tim Ellison||04/Sep/09 12:53|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||5.0M12 [ 12314191 ]|
|Resolution||Fixed [ 1 ]|
|Summary||java.text.Format#parseObject(String) does not behave as expected||[classlib] [text] java.text.Format#parseObject(String) does not behave as expected|
|Field||Original Value||New Value|
|Assignee||Tim Ellison [ tellison ]|