Failed

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

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

Error Message

test013d - Eclipse found error(s) but Javac only found warning(s).
----------- Expected ------------
----------\n
1. ERROR in X.java (at line 1)\n
 abstract class X4 extends A implements I {}\n
                ^^\n
Name clash: The method foo(Class<T>) of type A has the same erasure as foo(Class<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 X4 extends A implements I {}\n
                                       ^\n
1 warning\n

--------- Difference is ----------
 expected:<[----------\n
1. ERROR in X.java (at line 1)\n
 abstract class X4 extends A implements I {}\n
                ^^\n
Name clash: The method foo(Class<T>) of type A has the same erasure as foo(Class<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 X4 extends A implements I {}\n
                                       ^\n
1 warning]\n
>

Stacktrace

junit.framework.ComparisonFailure: 
test013d - Eclipse found error(s) but Javac only found warning(s).
----------- Expected ------------
----------\n
1. ERROR in X.java (at line 1)\n
	abstract class X4 extends A implements I {}\n
	               ^^\n
Name clash: The method foo(Class<T>) of type A has the same erasure as foo(Class<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 X4 extends A implements I {}\n
                                       ^\n
1 warning\n

--------- Difference is ----------
 expected:<[----------\n
1. ERROR in X.java (at line 1)\n
	abstract class X4 extends A implements I {}\n
	               ^^\n
Name clash: The method foo(Class<T>) of type A has the same erasure as foo(Class<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 X4 extends A implements I {}\n
                                       ^\n
1 warning]\n
>
	at org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test013d(MethodVerifyTest.java:1079)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest#test013d - 12
A.java [
class A { <T> Object foo(Class<T> s) { return null; } }
interface I { <T, S> S foo(Class<T> s); }

]
X.java [
abstract class X4 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 X4 extends A implements I {}
                                       ^
1 warning

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