libproxool-java version 0.9.1-4ubuntu1 failed to build with openjdk-7

Bug #888972 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libproxool-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 libproxool-java version 0.9.1-4ubuntu1.

See attached log for full build failure details.

This log snippet might also be of interest:

    [javac] cast to Object[] for a non-varargs call and to suppress this warning
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/FatalSqlExceptionHelper.java:182: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] m = o.getClass().getMethod(methodName, null);
    [javac] ^
    [javac] cast to Class<?> for a varargs call
    [javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/ProxoolDataSource.java:40: error: ProxoolDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class ProxoolDataSource implements DataSource, ObjectFactory {
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/ProxoolDriver.java:26: error: ProxoolDriver is not abstract and does not override abstract method getParentLogger() in Driver
    [javac] public class ProxoolDriver implements Driver {
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/ProxoolDriver.java:152: warning: [deprecation] MAXIMUM_NEW_CONNECTIONS_PROPERTY in ProxoolConstants has been deprecated
    [javac] dpi[5] = buildDriverPropertyInfo(ProxoolConstants.MAXIMUM_NEW_CONNECTIONS_PROPERTY,
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/ProxoolDriver.java:153: warning: [deprecation] getMaximumNewConnections() in ConnectionPoolDefinitionIF has been deprecated
    [javac] String.valueOf(cpd.getMaximumNewConnections()));
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/admin/jmx/ConnectionPoolMBean.java:218: warning: [deprecation] MAXIMUM_NEW_CONNECTIONS in ProxoolConstants has been deprecated
    [javac] } else if (equalsProperty(attributeNames[i], ProxoolConstants.MAXIMUM_NEW_CONNECTIONS)) {
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/admin/jmx/ConnectionPoolMBean.java:220: warning: [deprecation] getMaximumNewConnections() in ConnectionPoolDefinitionIF has been deprecated
    [javac] new Integer(this.poolDefinition.getMaximumNewConnections())));
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/admin/jmx/ConnectionPoolMBean.java:343: warning: [deprecation] MAXIMUM_NEW_CONNECTIONS in ProxoolConstants has been deprecated
    [javac] } else if (equalsProperty(name, ProxoolConstants.MAXIMUM_NEW_CONNECTIONS)) {
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/admin/jmx/ConnectionPoolMBean.java:344: warning: [deprecation] MAXIMUM_NEW_CONNECTIONS_PROPERTY in ProxoolConstants has been deprecated
    [javac] setIntegerAttribute(name, ProxoolConstants.MAXIMUM_NEW_CONNECTIONS_PROPERTY, value,
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/org/logicalcobwebs/proxool/admin/jmx/ConnectionPoolMBean.java:345: warning: [deprecation] DEFAULT_MAXIMUM_NEW_CONNECTIONS in ConnectionPoolDefinitionIF has been deprecated
    [javac] ConnectionPoolDefinitionIF.DEFAULT_MAXIMUM_NEW_CONNECTIONS, newProperties, resultList);
    [javac] ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [javac] 12 warnings

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

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

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
James Page (james-page)
Changed in libproxool-java (Ubuntu):
status: New → Fix Committed
Revision history for this message
James Page (james-page) wrote :

This bug was fixed in the package libproxool-java - 0.9.1-6

---------------
libproxool-java (0.9.1-6) unstable; urgency=low

  * Team upload.
  * Fix FTBFS with Java7.

 -- Niels Thykier <email address hidden> Sun, 24 Jun 2012 16:06:38 +0200

libproxool-java (0.9.1-5) unstable; urgency=low

  [Miguel Landaeta]
  * Team upload.
  * Replace dependencies on Servlet 2.4 library with 2.5. (Closes: #658799)
  * Bump Standards-Version to 3.9.3. No changes were required.

  [tony mancill]
  * Remove needless dependency on JRE.

 -- tony mancill <email address hidden> Sat, 03 Mar 2012 08:53:32 -0800

Changed in libproxool-java (Ubuntu):
status: Fix Committed → 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.