This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

ChangeLog:

2009-01-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* 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

Attachment: choiceformat-01.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]