tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Silk <craig.s...@gmail.com>
Subject OpenJDK 7
Date Thu, 03 May 2012 23:05:30 GMT
Have there been any issues with OpenJDK7 compilations?

I'm seeing several errors in the build :

    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java:53:
error: BasicDataSource is not abstract and does not override abstract
method getParentLogger() in CommonDataSource
    [javac] public class BasicDataSource implements DataSource {
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingStatement.java:46:
error: DelegatingStatement is not abstract and does not override abstract
method isCloseOnCompletion() in Statement
    [javac] public class DelegatingStatement extends AbandonedTrace
implements Statement {
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingPreparedStatement.java:57:
error: DelegatingPreparedStatement is not abstract and does not override
abstract method isCloseOnCompletion() in Statement
    [javac] public class DelegatingPreparedStatement extends
DelegatingStatement
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingCallableStatement.java:58:
error: DelegatingCallableStatement is not abstract and does not override
abstract method <T>getObject(String,Class<T>) in CallableStatement
    [javac] public class DelegatingCallableStatement extends
DelegatingPreparedStatement
    [javac]        ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method
<T>getObject(String,Class<T>)
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingConnection.java:65:
error: DelegatingConnection is not abstract and does not override abstract
method getNetworkTimeout() in Connection
    [javac] public class DelegatingConnection extends AbandonedTrace
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingDatabaseMetaData.java:41:
error: DelegatingDatabaseMetaData is not abstract and does not override
abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
    [javac] public class DelegatingDatabaseMetaData extends AbandonedTrace
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingResultSet.java:61:
error: DelegatingResultSet is not abstract and does not override abstract
method <T>getObject(String,Class<T>) in ResultSet
    [javac] public class DelegatingResultSet extends AbandonedTrace
implements ResultSet {
    [javac]        ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method
<T>getObject(String,Class<T>)
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolableCallableStatement.java:38:
error: PoolableCallableStatement is not abstract and does not override
abstract method <T>getObject(String,Class<T>) in CallableStatement
    [javac] public class PoolableCallableStatement extends
DelegatingCallableStatement implements CallableStatement {
    [javac]        ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method
<T>getObject(String,Class<T>)
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolablePreparedStatement.java:41:
error: PoolablePreparedStatement is not abstract and does not override
abstract method isCloseOnCompletion() in Statement
    [javac] public class PoolablePreparedStatement extends
DelegatingPreparedStatement implements PreparedStatement {
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolingConnection.java:45:
error: PoolingConnection is not abstract and does not override abstract
method getNetworkTimeout() in Connection
    [javac] public class PoolingConnection extends DelegatingConnection
implements Connection, KeyedPoolableObjectFactory {
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolingDataSource.java:45:
error: PoolingDataSource is not abstract and does not override abstract
method getParentLogger() in CommonDataSource
    [javac] public class PoolingDataSource implements DataSource {
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/PoolingDriver.java:52:
error: PoolingDriver is not abstract and does not override abstract method
getParentLogger() in Driver
    [javac] public class PoolingDriver implements Driver {
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/cpdsadapter/DriverAdapterCPDS.java:87:
error: DriverAdapterCPDS is not abstract and does not override abstract
method getParentLogger() in CommonDataSource
    [javac] public class DriverAdapterCPDS
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/datasources/PerUserPoolDataSource.java:60:
error: PerUserPoolDataSource is not abstract and does not override abstract
method getParentLogger() in CommonDataSource
    [javac] public class PerUserPoolDataSource
    [javac]        ^
    [javac]
/home/craig/dev/tomcat/build-deps/tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/datasources/SharedPoolDataSource.java:52:
error: SharedPoolDataSource is not abstract and does not override abstract
method getParentLogger() in CommonDataSource
    [javac] public class SharedPoolDataSource
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 15 errors
    [javac] 1 warning

BUILD FAILED

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message