Can a generous committer please apply this patch?

On 1/23/07, karan singh malhi (JIRA) <[EMAIL PROTECTED]> wrote:


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

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

    Attachment: java.sql.patch

This patch file fixes the issue of the build breaking due to some missing
interfaces.

David Blevins wrote:

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?


For more details, see the thread "build fails with jdk 1.6"

> 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
>         Assigned To: David Blevins
>            Priority: Minor
>         Attachments: ClientDataSource.patch, FakeDataSource.patch,
java.sql.patch, JdbcConnection.patch, JdbcConnectionFactory.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.
-
You can reply to this email to add a comment to the issue online.




--
Karan Malhi

Reply via email to