libjtds-java version 1.2.5+dfsg-2 failed to build with openjdk-7

Bug #888968 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjtds-java (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for libjtds-java version 1.2.5+dfsg-2.

See attached log for full build failure details.

This log snippet might also be of interest:

    [javac] public class JtdsResultSet implements ResultSet {
    [javac] ^
    [javac] where T is a type-variable:
    [javac] T extends Object declared in method <T>getObject(String,Class<T>)
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbc/Driver.java:50: error: net.sourceforge.jtds.jdbc.Driver is not abstract and does not override abstract method getParentLogger() in java.sql.Driver
    [javac] public class Driver implements java.sql.Driver {
    [javac] ^
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbc/JtdsCallableStatement.java:44: error: JtdsCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
    [javac] public class JtdsCallableStatement extends JtdsPreparedStatement implements CallableStatement {
    [javac] ^
    [javac] where T is a type-variable:
    [javac] T extends Object declared in method <T>getObject(String,Class<T>)
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java:48: error: JtdsDatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
    [javac] public class JtdsDatabaseMetaData implements java.sql.DatabaseMetaData {
    [javac] ^
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbcx/JtdsDataSource.java:47: error: JtdsDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class JtdsDataSource
    [javac] ^
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbcx/proxy/StatementProxy.java:32: error: StatementProxy is not abstract and does not override abstract method isCloseOnCompletion() in Statement
    [javac] public class StatementProxy implements Statement {
    [javac] ^
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbcx/proxy/PreparedStatementProxy.java:36: error: PreparedStatementProxy is not abstract and does not override abstract method isCloseOnCompletion() in Statement
    [javac] public class PreparedStatementProxy
    [javac] ^
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbcx/proxy/CallableStatementProxy.java:36: error: CallableStatementProxy is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement
    [javac] public class CallableStatementProxy
    [javac] ^
    [javac] where T is a type-variable:
    [javac] T extends Object declared in method <T>getObject(String,Class<T>)
    [javac] /«BUILDDIR»/libjtds-java-1.2.5+dfsg/src/main/net/sourceforge/jtds/jdbcx/proxy/ConnectionProxy.java:35: error: ConnectionProxy is not abstract and does not override abstract method getNetworkTimeout() in Connection
    [javac] public class ConnectionProxy implements Connection {
    [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] 12 errors

BUILD FAILED
/«BUILDDIR»/libjtds-java-1.2.5+dfsg/debian/build.xml:48: Compile failed; see the compiler error output for details.

Total time: 9 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-2105

Finished
────────

E: Build failure (dpkg-buildpackage died)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto java7-ftbfs
James Page (james-page)
tags: added: api
Revision history for this message
James Page (james-page) wrote :

Reconfirmed in Ubuntu Quantal - adding ftbfs tag.

tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libjtds-java - 1.2.5+dfsg-2ubuntu1

---------------
libjtds-java (1.2.5+dfsg-2ubuntu1) quantal; urgency=low

  * Fix FTBFS with openjdk-7 as default-jdk (LP: #888968).
    - adapted JDBC 4.1 fixes from upstream experimental branch.
  * d/rules: Ensure bytecode is backwards compatible with older versions
    of Java when building with openjdk-7.
 -- James Page <email address hidden> Mon, 08 Oct 2012 12:06:31 +0100

Changed in libjtds-java (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.