Calendar.roll assumes default locale == Locale.US

Noa Resare noa@resare.com
Sat Nov 6 09:39:00 GMT 2004


The gnu/testlet/java/util/Calendar/roll.java test contains a simple date
format with weekday ('EEE') as part of the format. The test then assumes
that the weekday will be equal to the weekday in the US locale.

I have applied a patch that explicitly sets the locale of the
SimpleDateFormat to Locale.US to avoid failures when a different system
locale is used.

/noa

-- 
nuclear cia fbi spy password code president bomb
F3C4 AC90 B885 FE15 344B  4D05 220B 7662 A190 6F09
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Detta ?r en digitalt signerad	meddelandedel
URL: <http://sourceware.org/pipermail/mauve-discuss/attachments/20041106/705f5e9f/attachment.sig>


More information about the Mauve-discuss mailing list