Failed

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testBug446442_4 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 16 builds (Since Failed#81 )
Took 0.83 sec.

Error Message

testBug446442_4 - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
Test.java:8: error: interface Baz inherits abstract and default for m(Integer) from types Foo and Foo\n
interface Baz extends Foo<Integer, Integer> {}\n
^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[Test.java:8: error: interface Baz inherits abstract and default for m(Integer) from types Foo and Foo\n
interface Baz extends Foo<Integer, Integer> {}\n
^\n
1 error\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
testBug446442_4 - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
Test.java:8: error: interface Baz inherits abstract and default for m(Integer) from types Foo and Foo\n
interface Baz extends Foo<Integer, Integer> {}\n
^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[Test.java:8: error: interface Baz inherits abstract and default for m(Integer) from types Foo and Foo\n
interface Baz extends Foo<Integer, Integer> {}\n
^\n
1 error\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest.testBug446442_4(NullTypeAnnotationTest.java:7444)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.NullTypeAnnotationTest#testBug446442_4 - 10
Test.java [
import org.eclipse.jdt.annotation.*;
interface Foo<T, N extends Number> {
	abstract void m(@NonNull N arg2) throws Exception;

	default void m(T arg1) throws java.io.IOException {}
}

interface Baz extends Foo<Integer, Integer> {}
abstract class Impl {
  public void m(Integer a) throws java.io.IOException {}
}
class BazImpl extends Impl implements Baz {}

public class Test {
	void test(BazImpl b) throws java.io.IOException {
		b.m(null);
	}
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1566100984719/10.0.1_20190818_000313.txt

Standard Error

--- javac err: ---
Test.java:8: error: interface Baz inherits abstract and default for m(Integer) from types Foo and Foo
interface Baz extends Foo<Integer, Integer> {}
^
1 error

----------------------------------------