Failed

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

Failing for the past 16 builds (Since Failed#81 )
Took 0.82 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 - 10
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.1566100984719/10.0.1_20190818_000313.txt

Standard Error

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