Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-192

Fails to build under JDK 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.3
    • None

    Description

      [javac] Compiling 39 source files to /home/hen/apache/jakarta/commons-proper/dbcp/target/classes
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java:85: org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS is not abstract and does not override abstract method getQueryObjectGenerator() in javax.sql.CommonDataSource
      public class DriverAdapterCPDS
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java:40: org.apache.commons.dbcp.cpdsadapter.ConnectionImpl is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
      class ConnectionImpl implements Connection {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/PooledConnectionImpl.java:42: org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection
      class PooledConnectionImpl
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/DelegatingConnection.java:50: org.apache.commons.dbcp.DelegatingConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
      public class DelegatingConnection extends AbandonedTrace
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/DelegatingStatement.java:45: org.apache.commons.dbcp.DelegatingStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
      public class DelegatingStatement extends AbandonedTrace implements Statement {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/DelegatingStatement.java:130: isClosed() in org.apache.commons.dbcp.DelegatingStatement cannot implement isClosed() in java.sql.Statement; attempting to assign weaker access privileges; was public
      protected boolean isClosed() {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java:49: org.apache.commons.dbcp.DelegatingPreparedStatement is not abstract and does not override abstract method setCharacterStream(int,java.io.Reader,long) in java.sql.PreparedStatement
      public class DelegatingPreparedStatement extends DelegatingStatement
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java:40: org.apache.commons.dbcp.PoolablePreparedStatement is not abstract and does not override abstract method setCharacterStream(int,java.io.Reader,long) in java.sql.PreparedStatement
      public class PoolablePreparedStatement extends DelegatingPreparedStatement implements PreparedStatement {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/cpdsadapter/PoolablePreparedStatementStub.java:33: isClosed() in org.apache.commons.dbcp.DelegatingStatement cannot implement isClosed() in java.sql.Statement; attempting to assign weaker access privileges; was public
      class PoolablePreparedStatementStub extends PoolablePreparedStatement {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java:51: org.apache.commons.dbcp.datasources.PerUserPoolDataSource is not abstract and does not override abstract method <T>createQueryObject(java.lang.Class<T>,javax.sql.DataSource) in javax.sql.DataSource
      public class PerUserPoolDataSource
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java:45: org.apache.commons.dbcp.datasources.SharedPoolDataSource is not abstract and does not override abstract method <T>createQueryObject(java.lang.Class<T>,javax.sql.DataSource) in javax.sql.DataSource
      public class SharedPoolDataSource
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java:52: org.apache.commons.dbcp.DelegatingCallableStatement is not abstract and does not override abstract method setCharacterStream(java.lang.String,java.io.Reader,long) in java.sql.CallableStatement
      public class DelegatingCallableStatement extends DelegatingPreparedStatement
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/DelegatingResultSet.java:54: org.apache.commons.dbcp.DelegatingResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader,long) in java.sql.ResultSet
      public class DelegatingResultSet extends AbandonedTrace implements ResultSet {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/PoolingDataSource.java:44: org.apache.commons.dbcp.PoolingDataSource is not abstract and does not override abstract method <T>createQueryObject(java.lang.Class<T>,javax.sql.DataSource) in javax.sql.DataSource
      public class PoolingDataSource implements DataSource {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/PoolingConnection.java:41: org.apache.commons.dbcp.PoolingConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
      public class PoolingConnection extends DelegatingConnection implements Connection, KeyedPoolableObjectFactory {
      ^
      /home/hen/apache/jakarta/commons-proper/dbcp/src/java/org/apache/commons/dbcp/BasicDataSource.java:43: org.apache.commons.dbcp.BasicDataSource is not abstract and does not override abstract method <T>createQueryObject(java.lang.Class<T>,javax.sql.DataSource) in javax.sql.DataSource
      public class BasicDataSource implements DataSource {

      Attachments

        Activity

          People

            Unassigned Unassigned
            bayard Henri Yandell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: