Let me try and look into it . On 1/22/07, David Blevins <[EMAIL PROTECTED]> wrote:
On Jan 6, 2007, at 5:50 AM, Karan Malhi wrote: > 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 I gave this patch a shot and it fails to compile in JDK 1.5 as these classes don't exist: import java.sql.NClob; import java.sql.SQLClientInfoException; import java.sql.SQLXML; Does anyone know if there are many backport versions of these that we could use or some way to support 1.6 without breaking 1.5 support? -David > 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
-- Karan Malhi
