You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Alex Grönholm (JIRA)" <ji...@apache.org> on 2008/11/04 14:10:44 UTC

[jira] Created: (OPENEJB-952) Build fails under JDK6 due to unimplemented methods in NullDataSource

Build fails under JDK6 due to unimplemented methods in NullDataSource
---------------------------------------------------------------------

                 Key: OPENEJB-952
                 URL: https://issues.apache.org/jira/browse/OPENEJB-952
             Project: OpenEJB
          Issue Type: Bug
          Components: container system
    Affects Versions: 3.1
         Environment: Java 6
            Reporter: Alex Grönholm
            Priority: Critical
             Fix For: 3.1.1
         Attachments: persistencebootstrap.patch

The interface javax.sql.DataSource inherits from java.sql.Wrapper in Java 6 but not in Java 5. The methods required by java.sql.Wrapper are not implemented in the NullDataSource class in org.apache.openejb.persistence.PersistenceBootstrap, preventing the build process from completing successfully under JDK6. Attached is a patch that adds the appropriate minimum implementation of the required methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENEJB-952) Build fails under JDK6 due to unimplemented methods in NullDataSource

Posted by "Alex Grönholm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Grönholm updated OPENEJB-952:
----------------------------------

    Attachment: persistencebootstrap.patch

> Build fails under JDK6 due to unimplemented methods in NullDataSource
> ---------------------------------------------------------------------
>
>                 Key: OPENEJB-952
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-952
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 3.1
>         Environment: Java 6
>            Reporter: Alex Grönholm
>            Priority: Critical
>             Fix For: 3.1.1
>
>         Attachments: persistencebootstrap.patch
>
>
> The interface javax.sql.DataSource inherits from java.sql.Wrapper in Java 6 but not in Java 5. The methods required by java.sql.Wrapper are not implemented in the NullDataSource class in org.apache.openejb.persistence.PersistenceBootstrap, preventing the build process from completing successfully under JDK6. Attached is a patch that adds the appropriate minimum implementation of the required methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OPENEJB-952) Build fails under JDK6 due to unimplemented methods in NullDataSource

Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dain Sundstrom closed OPENEJB-952.
----------------------------------

    Resolution: Fixed

Committed.  Thanks

> Build fails under JDK6 due to unimplemented methods in NullDataSource
> ---------------------------------------------------------------------
>
>                 Key: OPENEJB-952
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-952
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 3.1
>         Environment: Java 6
>            Reporter: Alex Grönholm
>            Priority: Critical
>             Fix For: 3.1.1
>
>         Attachments: persistencebootstrap.patch
>
>
> The interface javax.sql.DataSource inherits from java.sql.Wrapper in Java 6 but not in Java 5. The methods required by java.sql.Wrapper are not implemented in the NullDataSource class in org.apache.openejb.persistence.PersistenceBootstrap, preventing the build process from completing successfully under JDK6. Attached is a patch that adds the appropriate minimum implementation of the required methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.