Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_9.testBug521815b - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 15 builds (Since #81 )
Took 0.82 sec.

Error Message

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

------------ but was ------------
----------\n
1. WARNING in a\Y.java (at line 2)\n
 import static a.b.X.Inner;\n
               ^^^^^^^^^^^\n
The import a.b.X.Inner is never used\n
----------\n

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

Stacktrace

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

------------ but was ------------
----------\n
1. WARNING in a\Y.java (at line 2)\n
	import static a.b.X.Inner;\n
	              ^^^^^^^^^^^\n
The import a.b.X.Inner is never used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in a\Y.java (at line 2)\n
	import static a.b.X.Inner;\n
	              ^^^^^^^^^^^\n
The import a.b.X.Inner is never used\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_9.testBug521815b(GenericsRegressionTest_9.java:602)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_9#testBug521815b - 10
a/b/X.java [
package a.b;
interface I{
    public static class Inner { }
}
class Cl {
    public static class Inner {}
}
public class X extends Cl implements I {}

]
a/Y.java [
package p;
import static a.b.X.Inner;
public class Y {;
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1565496180436/10.0.1_20190811_000308.txt

Standard Error

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