commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7038] New: - DBCP does not build under JDK 1.4
Date Mon, 11 Mar 2002 23:31:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7038

DBCP does not build under JDK 1.4

           Summary: DBCP does not build under JDK 1.4
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: otis@apache.org


It appears that DBCP cannot be compiled with JDK 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



Juozas Baliuka said:
"We use reflection in Simplestore, it is not very fast, but it is very
trivial solution to implement version neutral Connection interface
(implementation generated at runtime)."

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message