FYI: ChoiceFormat fixes

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

FYI: ChoiceFormat fixes

gnu_andrew
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
test.

ChangeLog:

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

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

--
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

choiceformat-01.diff (3K) Download Attachment