Just built open-ejb using maven. build fails with jdk 1.6. Below is the
message

Compiling 11 source files to
C:\openejb3\container\openejb-persistence\target\test-classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\openejb3\container\openejb-persistence\src\test\java\org\apache\openejb\persistence\FakeDataSource.java:[25,7]
org.
apache.openejb.persistence.FakeDataSource is not abstract and does not
override abstract method isWrapperFor(java.lang
.Class<?>) in java.sql.Wrapper


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.


--
Karan Malhi

Reply via email to