2003-09-18 Jeroen Frijters <jeroen@frijters.net>

* java/sql/Timestamp.java
	(valueOf): Fixed confusion of java.sql.Date and java.util.Date

From-SVN: r71508
This commit is contained in:
Jeroen Frijters 2003-09-18 06:11:41 +00:00 committed by Michael Koch
parent f5e2e1adf0
commit fc08ad2815
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-18 Jeroen Frijters <jeroen@frijters.net>
* java/sql/Timestamp.java
(valueOf): Fixed confusion of java.sql.Date and java.util.Date
2003-09-18 David P Grove <groved@us.ibm.com>
* java/io/LineNumberReader (read): Don't reset pos & limit when

View File

@ -81,7 +81,7 @@ public class Timestamp extends java.util.Date
{
try
{
Date d = (Date) parse_sdf.parseObject(str);
java.util.Date d = (java.util.Date)parse_sdf.parseObject(str);
if (d == null)
throw new IllegalArgumentException(str);