Failed

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test011b - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 10 builds (Since Failed#44 )
Took 0.88 sec.

Error Message

test011b - Eclipse found error(s) but Javac only found warning(s).
----------- Expected ------------
----------\n
1. ERROR in X.java (at line 1)\n
 abstract class X3 extends A implements I {}\n
                ^^\n
Name clash: The method foo(T) of type A has the same erasure as foo(T) of type I but does not override it\n
----------\n

------------ but was ------------
X.java:1: warning: auxiliary class I in A.java should not be accessed from outside its own source file\n
abstract class X3 extends A implements I {}\n
                                       ^\n
1 warning\n

--------- Difference is ----------
 expected:<[----------\n
1. ERROR in X.java (at line 1)\n
 abstract class X3 extends A implements I {}\n
                ^^\n
Name clash: The method foo(T) of type A has the same erasure as foo(T) of type I but does not override it\n
----------]\n
> but was:<[X.java:1: warning: auxiliary class I in A.java should not be accessed from outside its own source file\n
abstract class X3 extends A implements I {}\n
                                       ^\n
1 warning]\n
>

Stacktrace

junit.framework.ComparisonFailure: 
test011b - Eclipse found error(s) but Javac only found warning(s).
----------- Expected ------------
----------\n
1. ERROR in X.java (at line 1)\n
	abstract class X3 extends A implements I {}\n
	               ^^\n
Name clash: The method foo(T) of type A has the same erasure as foo(T) of type I but does not override it\n
----------\n

------------ but was ------------
X.java:1: warning: auxiliary class I in A.java should not be accessed from outside its own source file\n
abstract class X3 extends A implements I {}\n
                                       ^\n
1 warning\n

--------- Difference is ----------
 expected:<[----------\n
1. ERROR in X.java (at line 1)\n
	abstract class X3 extends A implements I {}\n
	               ^^\n
Name clash: The method foo(T) of type A has the same erasure as foo(T) of type I but does not override it\n
----------]\n
> but was:<[X.java:1: warning: auxiliary class I in A.java should not be accessed from outside its own source file\n
abstract class X3 extends A implements I {}\n
                                       ^\n
1 warning]\n
>
	at org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test011b(MethodVerifyTest.java:940)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest#test011b - 12
A.java [
class A { <T> void foo(T t) {} }
interface I { <T, S> void foo(T t); }

]
X.java [
abstract class X3 extends A implements I {}

]


Full results sent to /tmp/comptest/run.1573297474160/12_20191109_110435.txt

Standard Error

--- javac err: ---
X.java:1: warning: auxiliary class I in A.java should not be accessed from outside its own source file
abstract class X3 extends A implements I {}
                                       ^
1 warning

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