Bug#717122: jmock2: FTBFS with Java7
Shuxiong Ye
yeshuxiong at gmail.com
Wed Jul 17 03:18:38 UTC 2013
Package: jetty8
Version: 2.5.1+dfsg
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: openjdk-7-transition
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:146: error:
name clash: with(Matcher<Boolean>) and <T>with(Matcher<T>) have the same
erasure
[javac] public boolean with(Matcher<Boolean> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:151: error:
name clash: with(Matcher<Byte>) and <T>with(Matcher<T>) have the same
erasure
[javac] public byte with(Matcher<Byte> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:156: error:
name clash: with(Matcher<Short>) and <T>with(Matcher<T>) have the same
erasure
[javac] public short with(Matcher<Short> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:161: error:
name clash: with(Matcher<Character>) and <T>with(Matcher<T>) have the same
erasure
[javac] public char with(Matcher<Character> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:166: error:
name clash: with(Matcher<Integer>) and <T>with(Matcher<T>) have the same
erasure
[javac] public int with(Matcher<Integer> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:171: error:
name clash: with(Matcher<Long>) and <T>with(Matcher<T>) have the same
erasure
[javac] public long with(Matcher<Long> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:176: error:
name clash: with(Matcher<Float>) and <T>with(Matcher<T>) have the same
erasure
[javac] public float with(Matcher<Float> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:181: error:
name clash: with(Matcher<Double>) and <T>with(Matcher<T>) have the same
erasure
[javac] public double with(Matcher<Double> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:7:
error: name clash: with(Matcher<Boolean>) and <T>with(Matcher<T>) have the
same erasure
[javac] boolean with(Matcher<Boolean> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:8:
error: name clash: with(Matcher<Byte>) and <T>with(Matcher<T>) have the
same erasure
[javac] byte with(Matcher<Byte> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:9:
error: name clash: with(Matcher<Short>) and <T>with(Matcher<T>) have the
same erasure
[javac] short with(Matcher<Short> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:10:
error: name clash: with(Matcher<Integer>) and <T>with(Matcher<T>) have the
same erasure
[javac] int with(Matcher<Integer> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:11:
error: name clash: with(Matcher<Long>) and <T>with(Matcher<T>) have the
same erasure
[javac] long with(Matcher<Long> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:12:
error: name clash: with(Matcher<Float>) and <T>with(Matcher<T>) have the
same erasure
[javac] float with(Matcher<Float> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/syntax/ArgumentConstraintPhrases.java:13:
error: name clash: with(Matcher<Double>) and <T>with(Matcher<T>) have the
same erasure
[javac] double with(Matcher<Double> matcher);
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac]
/tmp/buildd/jmock2-2.5.1+dfsg/src/org/jmock/Expectations.java:141: error:
name clash: <T>with(Matcher<T>) in Expectations and with(Matcher<Double>)
in ArgumentConstraintPhrases have the same erasure, yet neither overrides
the other
[javac] public <T> T with(Matcher<T> matcher) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>with(Matcher<T>)
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 16 errors
[javac] 3 warnings
BUILD FAILED
/tmp/buildd/jmock2-2.5.1+dfsg/build.xml:61: Compile failed; see the
compiler error output for details.
--
Sincerely
Shuxiong Ye
School of Electronics Engineering and Computer Science, Peking University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130717/fa84bb28/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmock2-openjdk-7-log
Type: application/octet-stream
Size: 22746 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130717/fa84bb28/attachment-0001.obj>
More information about the pkg-java-maintainers
mailing list