This is the first time i have noticed it. I dont know what other projects
do, but i think we could simply provide empty implementations of the
inherited abstract methods. I can provide a quick patch for this. The JIRA
issue is OPENEJB-435

On 1/6/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote:

On 1/6/07, Karan Malhi <[EMAIL PROTECTED]> wrote:

> The above build fails because FakeDataSource implements
javax.sql.DataSource.
> Uptill 1.5 javax.sql.Datasource does not extend any other interface, but
in
> jdk 1.6, it extends two more interfaces, one of which is
java.sql.Wrapper.

I've read about it already somewhere and was deeply surprised. It
means that any code that extends j.s.DataSource is broken in JDK 1.6.
It'd be good to know how other projects managed it? Do they provide
different implementations for Java SE 1.5 and below as well as for
Java SE 6?

Thanks for reporting it! Would you care to report an issue in JIRA?

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl




--
Karan Malhi

Reply via email to