Public bug reported:

During a rebuild test on precise with default-jdk switched to openjdk-7,
a build failure was detected for mysql-connector-java version 5.1.16-2.

See attached log for full build failure details.

This log snippet might also be of interest:

    [javac] 1069. WARNING in 
/«PKGBUILDDIR»/build/mysql-connector-java-5.1.16/com/mysql/jdbc/util/LRUCache.java
 (at line 49)
    [javac]     protected boolean removeEldestEntry(En
    [javac] try eldest) {
    [javac]                                         ^^^^^
    [javac] Map.Entry is a raw type. References to generic type 
Map<K,V>.Entry<K,V> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 1070. WARNING in 
/«PKGBUILDDIR»/build/mysql-connector-java-5.1.16/com/mysql/jdbc/util/PropertiesDocGenerator.java
    [javac]  (at line 36)
    [javac]     public class PropertiesDocGenerator extends 
ConnectionPropertiesImpl {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class PropertiesDocGenerator does not declare a 
static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 1071. WARNING in 
/«PKGBUILDDIR»/build/mysql-connector-java-5.1.16/com/mysql/jdbc/util/ServerController.java
    [javac]  (at line 174)
    [javac]     String defaultsFilePath = getServerProps().getProperty(
    [javac]            ^^^^^^^^^^^^^^^^
    [javac] The local variable defaultsFilePath is never read
    [javac] ----------
    [javac] 1072. WARNING in 
/«PKGBUILDDIR»/build/mysql-connector-java-5.1.16/com/mysql/jdbc/util/ServerController.java
 (at line 294)
    [javac]     for (Iterator iter = this.serverProps.keySet().iterator(); iter
    [javac]          ^^^^^^^^
    [javac] 
    [javac] Iterator is a raw type. References to generic type Iterator<E> 
should be parameterized
    [javac] ----------
    [javac] 1072 problems (1072 warnings)

compile-driver-jdbc4:
    [javac] /«PKGBUILDDIR»/build.xml:771: warning: 'includeantruntime' was not 
set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 34 source files to 
/«PKGBUILDDIR»/build/mysql-connector-java-5.1.16
    [javac] 
/«PKGBUILDDIR»/build/mysql-connector-java-5.1.16/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java:44:
 error: JDBC4LoadBalancedMySQLConnection is not abstract and does not override 
abstract method getNetworkTimeout() in Connection
    [javac] public class JDBC4LoadBalancedMySQLConnection extends
    [javac]        ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
/«PKGBUILDDIR»/build.xml:771: Compile failed; see the compiler error output for 
details.

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

Finished
────────

E: Build failure (dpkg-buildpackage died)

** Affects: mysql-connector-java (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 auto java7-ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/888985

Title:
  mysql-connector-java version 5.1.16-2 failed to build with openjdk-7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-connector-java/+bug/888985/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to