mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 20:09:37 +08:00
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:
parent
f5e2e1adf0
commit
fc08ad2815
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user