[ 
https://issues.apache.org/jira/browse/JAMES-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707081#action_12707081
 ] 

Markus Wiederkehr commented on JAMES-901:
-----------------------------------------

Connection.createStruct() was introduced in Java 6 along with a few other 
methods in the same interface. This is one of very few cases (maybe the only 
one?) where Sun added methods to an interface and thereby broke existing 
implementations of the interface.

So you have to compile (and run) with Java 5.

> build error
> -----------
>
>                 Key: JAMES-901
>                 URL: https://issues.apache.org/jira/browse/JAMES-901
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 2.3.1
>         Environment: winXP SP3, JDK1.6.0_07-b06
>            Reporter: Amichai Rothman
>
> downloaded and extracted james-2.3.1-src.zip, and ran build.bat, and the 
> build failed with the error below:
> C:\temp\james-2.3.1-src\src\java\org\apache\james\util\mordred\PoolConnEntry.java:37:
>  org.apache.james.util.mordred.PoolConnEntry is not abstract and does not 
> override abstract method createStruct(java.lang.String,java.lang.Object[]) in 
> java.sql.Connection
> public class PoolConnEntry implements java.sql.Connection{
>        ^
> 1 error
> BUILD FAILED

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to