easymock version 2.4+ds1-6 failed to build with openjdk-7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
easymock (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Quantal |
Fix Released
|
High
|
James Page |
Bug Description
During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for easymock version 2.4+ds1-6.
See attached log for full build failure details.
This log snippet might also be of interest:
[javac] /«BUILDDIR»
[javac] Compiling 63 source files to /«BUILDDIR»
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] /«BUILDDIR»
[javac] public static int capture(
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(
[javac] /«BUILDDIR»
[javac] public static long capture(
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(
[javac] /«BUILDDIR»
[javac] public static float capture(
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(
[javac] /«BUILDDIR»
[javac] public static double capture(
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(
[javac] /«BUILDDIR»
[javac] public static byte capture(
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(
[javac] /«BUILDDIR»
[javac] public static char capture(
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 6 errors
[javac] 1 warning
BUILD FAILED
/«BUILDDIR»
Total time: 1 second
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20111109-1220
Finished
────────
E: Build failure (dpkg-buildpackage died)
tags: | added: lang |
Changed in easymock (Ubuntu): | |
assignee: | James Page (james-page) → nobody |
easymock 3.1 resolved this issue and provide Java7 compat - we should upgrade.