[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] java.sql fixes
From: |
Dalibor Topic |
Subject: |
[patch] java.sql fixes |
Date: |
Fri, 11 Apr 2003 01:40:02 -0700 (PDT) |
Hi,
I've been switching kaffe to use GNU Classpath's
implementation of
java.sql, and noticed a few bugs, which are exposed by
the attached
test programs, and fixed by the attached patch. With
the attached
patch, Classpath's behaviour on the test programs
matches that of JDK.
Here's a ChangeLog entry:
* java/sql/Date.java:
imported java.text.ParseException.
(getHours, getMinutes, getSeconds, setHours,
setMinutes,
setSeconds) new methods.
Reported by: Ito Kazumitsu
<address@hidden>
* java/sql/Time.java:
(getDate, getDay, getMonts, getYear, setDate,
setMonth,
setYear) new methods.
Reported by: Ito Kazumitsu
<address@hidden>
* java/sql/Date.java, java/sql/Time.java,
java/sql/Timestamp.java:
imported java.text.ParseException.
(valueOf) throw an IllegalArgumentException if
argument can't
be parsed.
Reported by: Ito Kazumitsu
<address@hidden>
* java/sql/DriverManager.java
(getDriver) throw an SQLException if no driver
can be found.
Reported by: Ito Kazumitsu
<address@hidden>
There are still some remaining issues in DriverManager
regarding race
conditions and driver namespaces.
cheers,
dalibor topic
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
sql-patch
Description: sql-patch
TestSQLMisc.java
Description: TestSQLMisc.java
SQLMissingMethods.java
Description: SQLMissingMethods.java
- [patch] java.sql fixes,
Dalibor Topic <=