You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "karan singh malhi (JIRA)" <ji...@apache.org> on 2007/01/06 16:25:27 UTC

[jira] Updated: (OPENEJB-435) build fails with jdk1.6

     [ https://issues.apache.org/jira/browse/OPENEJB-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

karan singh malhi updated OPENEJB-435:
--------------------------------------

    Attachment: FakeDataSource.patch

> build fails with jdk1.6
> -----------------------
>
>                 Key: OPENEJB-435
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-435
>             Project: OpenEJB
>          Issue Type: Bug
>         Environment: win xp professional, jdk 1.6
>            Reporter: karan singh malhi
>            Priority: Minor
>         Attachments: ClientDataSource.patch, FakeDataSource.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira