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
