|
From: | Michael Koch |
Subject: | [commit-cp] [bugs #11404] SimpleDateFormat bug with et_EE locale |
Date: | Thu, 30 Dec 2004 06:35:06 -0500 |
User-agent: | Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; de, address@hidden) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker of the project: classpath. /**************************************************************************/ [bugs #11404] Latest Modifications: Changes by: Michael Koch <address@hidden> 'Date: Don 30.12.2004 at 11:21 (GMT) What | Removed | Added --------------------------------------------------------------------------- Resolution | None | Fixed Status | Open | Closed ------------------ Additional Follow-up Comments ---------------------------- Fixed in CVS. Will be fixed in GNU classpath 0.13 release. Thanks for your contribution. /**************************************************************************/ [bugs #11404] Full Item Snapshot: URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11404> Project: classpath Submitted by: Marko Kreen On: Mon 27.12.2004 at 14:43 Category: classpath Severity: 5 - Average Resolution: Fixed Privacy: Public Assigned to: None Status: Closed Platform Version: None Summary: SimpleDateFormat bug with et_EE locale Original Submission: ----------- import java.util.Date; import java.text.SimpleDateFormat; public class Test2 { public static void main(String [] args) { SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); System.out.println(f.format(new Date())); } } ----------- jamvm-cvs is jamvm 1.2.3 with Classpath CVS. --------------- $ LANG=C kaffe-cvs Test2 2004-12-27 16:14:17 $ LANG=et_EE.iso-8859-1 kaffe-cvs Test2 java.lang.IllegalArgumentException: Illegal pattern character -1 at java.text.SimpleDateFormat.formatWithAttribute (SimpleDateFormat.java:539) at java.text.SimpleDateFormat.format (SimpleDateFormat.java:557) at java.text.DateFormat.format (DateFormat.java:267) at Test2.main (Test2.java:7) $ LANG=C jamvm-cvs Test2 2004-12-27 16:15:08 $ LANG=et_EE.iso-8859-1 jamvm-cvs Test2 java.lang.IllegalArgumentException: Illegal pattern character -1 at java.text.SimpleDateFormat.formatWithAttribute (SimpleDateFormat.java:539) at java.text.SimpleDateFormat.format (SimpleDateFormat.java:557) at java.text.DateFormat.format (DateFormat.java:267) at Test2.main (Test2.java:7) Follow-up Comments ------------------ ------------------------------------------------------- Date: Don 30.12.2004 at 11:21 By: Michael Koch <mkoch> Fixed in CVS. Will be fixed in GNU classpath 0.13 release. Thanks for your contribution. For detailed info, follow this link: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11404> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |