Hi!

Here is the patch (against the current Classpath snapshot) fixing 
Choice/MessageFormat.parse() to comply with the spec (and with the RI behavior).

ChangeLog entries:
        * java/text/ChoiceFormat.java: (parse(String, ParsePosition)): Return
        the value corresponding to the longest match; update the comment.
        (quoteString(CPStringBuilder, String)): Make the private method
        static.
        * java/text/MessageFormat.java: (parse(String, ParsePosition)):
        Adjust pos index at method return; pass subpos (instead of pos) to
        formatter.parseObject().

Regards.

Attachment: classpath-ivmai-38.diff
Description: Binary data

Reply via email to