libcommons-dbcp-java version 1.4-1ubuntu1 failed to build with openjdk-7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcommons-dbcp-java (Ubuntu) |
Fix Released
|
Medium
|
James Page |
Bug Description
During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for libcommons-
See attached log for full build failure details.
This log snippet might also be of interest:
[javac] /«PKGBUILDDIR»
[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(
[javac] /«PKGBUILDDIR»
[javac] public class PoolableCallabl
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>getObject(
[javac] /«PKGBUILDDIR»
[javac] public class PoolablePrepare
[javac] ^
[javac] /«PKGBUILDDIR»
[javac] public class PoolingConnection extends DelegatingConne
[javac] ^
[javac] /«PKGBUILDDIR»
[javac] public class PoolingDataSource implements DataSource {
[javac] ^
[javac] /«PKGBUILDDIR»
[javac] public class PoolingDriver implements Driver {
[javac] ^
[javac] /«PKGBUILDDIR»
[javac] public class DriverAdapterCPDS
[javac] ^
[javac] /«PKGBUILDDIR»
[javac] public class PerUserPoolData
[javac] ^
[javac] /«PKGBUILDDIR»
[javac] public class SharedPoolDataS
[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
/«PKGBUILDDIR»
Total time: 5 seconds
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20111109-1400
Finished
────────
E: Build failure (dpkg-buildpackage died)
tags: | added: api |
Changed in libcommons-dbcp-java (Ubuntu): | |
status: | In Progress → Confirmed |
assignee: | James Page (james-page) → nobody |
Changed in libcommons-dbcp-java (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
Changed in libcommons-dbcp-java (Ubuntu): | |
status: | Confirmed → In Progress |
milestone: | none → quantal-alpha-2 |
JDBC 4.1 introduces some automated resource management features through introduction of the try with resources language features.
commons-dbcp 1.4 is targeted at Java 1.6 (JDBC 4) so does not implement these features.
The resulting patchset to implement/no-op optional features is quite large.