commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "otisg" <ot...@iVillage.com>
Subject [dbcp] Build fails with JDK 1.4
Date Mon, 11 Mar 2002 05:06:27 GMT
Hello,

It appears that DBCP cannot be compiled with JDK 1.4.
Are there any plans to make DBCP compatible with 1.4?

build-java:
[javac] Compiling 9 source files to
/home/otis/cvs-repositories/jakarta/jakarta-commons/dbcp/dist/classes
[javac]
/home/otis/cvs-repositories/jakarta/jakarta-commons/dbcp/src/java/org/ap
ache/commons/dbcp/PoolablePreparedStatement.java:79:
org.apache.commons.dbcp.PoolablePreparedStatement should be declared
abstract; it does not define getMoreResults(int) in
org.apache.commons.dbcp.PoolablePreparedStatement
[javac] public class PoolablePreparedStatement extends
DelegatingPreparedStatement implements PreparedStatement {
[javac] ^
[javac]
/home/otis/cvs-repositories/jakarta/jakarta-commons/dbcp/src/java/org/ap
ache/commons/dbcp/PoolablePreparedStatement.java:79: warning:
setUnicodeStream(int,java.io.InputStream,int) in
java.sql.PreparedStatement has been deprecated
[javac] public class PoolablePreparedStatement extends
DelegatingPreparedStatement implements PreparedStatement {
[javac] ^
[javac]
/home/otis/cvs-repositories/jakarta/jakarta-commons/dbcp/src/java/org/ap
ache/commons/dbcp/PoolingConnection.java:78:
org.apache.commons.dbcp.PoolingConnection should be declared abstract;
it does not define setHoldability(int) in
org.apache.commons.dbcp.PoolingConnection
[javac] public class PoolingConnection extends DelegatingConnection
implements Connection, KeyedPoolableObjectFactory {
[javac] ^
[javac] 2 errors
[javac] 1 warning

BUILD FAILED


Thanks,
Otis
_______________________________________________________________
Get your own FREE email account at iVillage.com!
http://webmail.ivillage.com/

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