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

Alfred Nathaniel closed COCOON-1980.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.11-dev (Current SVN)

Added dummy implementations of JDBC4 unwrap / isWrapperFor methods.

http://svn.apache.org/viewvc?view=rev&rev=495744


> Build error with Java 6
> -----------------------
>
>                 Key: COCOON-1980
>                 URL: https://issues.apache.org/jira/browse/COCOON-1980
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Databases
>    Affects Versions: 2.1.10
>            Reporter: Markus Wolf
>            Priority: Minor
>             Fix For: 2.1.11-dev (Current SVN)
>
>
> Building the database block with Java 6 results in the following exception:
> .../cocoon-2.1.10/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java:82:
>  
> org.apache.cocoon.databases.ibatis.ExcaliburDataSourceFactory.DataSourceWrapper
>  is not abstract and does not override abstract method 
> isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
>     protected static final class DataSourceWrapper implements DataSource {
>                            ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> BUILD FAILED

-- 
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

        

Reply via email to