------- Comment #1 from luctor at gmail dot com 2007-01-11 07:32 -------
(In reply to comment #0)
> 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\"".
>
Very similar problem. Using IKVM 0.32 (using 0.93 classpath) I get de following
exception:
java.lang.IllegalArgumentException: 2000-01-01 00:00:00
at java.sql.Timestamp.valueOf(Timestamp.java:117)
at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java)
And it should be ok.
--
luctor at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luctor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30359
_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath