FYI: ChoiceFormat fixes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

FYI: ChoiceFormat fixes

This fixes a bug in the format14 test where the ChoiceFormat used
for the test is invalid.  A further test is added to ensure such
invalid formats are correctly handled.  Sun's JDK currently fails to
catch some invalid formats and thus was wrongly passing the format14


2009-01-02  Andrew John Hughes  <[hidden email]>

        * gnu/testlet/java/text/ChoiceFormat/
        New test for bad ChoiceFormats.
        * gnu/testlet/java/text/MessageFormat/
        Correct ChoiceFormat used.

Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
PGP Key: 94EFD9D8 (
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

choiceformat-01.diff (3K) Download Attachment