Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0024 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 51 builds (Since #64 )
Took 0.62 sec.

Error Message

test0024 - Eclipse found warning(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. WARNING in X.java (at line 2)\n
 import java.util.ArrayList;\n
        ^^^^^^^^^^^^^^^^^^^\n
The import java.util.ArrayList is never used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in X.java (at line 2)\n
 import java.util.ArrayList;\n
        ^^^^^^^^^^^^^^^^^^^\n
The import java.util.ArrayList is never used\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. WARNING in X.java (at line 2)\n
	import java.util.ArrayList;\n
	       ^^^^^^^^^^^^^^^^^^^\n
The import java.util.ArrayList is never used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in X.java (at line 2)\n
	import java.util.ArrayList;\n
	       ^^^^^^^^^^^^^^^^^^^\n
The import java.util.ArrayList is never used\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0024(GenericsRegressionTest_1_7.java:1109)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0024 - 1.8
X.java [
import java.util.List;
import java.util.ArrayList;
class X<T> {
  public X() {}
  X<String> f(List<String> p) {return new X<>();}
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1566619421654/1.8.0_162_20190824_000350.txt

Standard Error

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