bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/30359] New: SimpleDateFormat parse "invalid Date syntax i


From: MarkWatson at bcs dot org dot uk
Subject: [Bug classpath/30359] New: SimpleDateFormat parse "invalid Date syntax in" exception
Date: 3 Jan 2007 18:59:11 -0000

Looks like SimpleDateFormat.parse has issues in 0.93. Tested using IKVM 0.32
(using 0.93 classpath). Last worked in IKVM 0.30 (using 0.92 classpath). Expect
its down to the whitespace fixes?

The following code shows the problem:
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy");
java.util.Date dt = sdf.parse("2006");

This throws an exception "invalid Date syntax in \"2006\"".


-- 
           Summary: SimpleDateFormat parse "invalid Date syntax in"
                    exception
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: MarkWatson at bcs dot org dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30359





reply via email to

[Prev in Thread] Current Thread [Next in Thread]