Regression

org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test079 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#95 )
Took 0.81 sec.

Error Message

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

------------ but was ------------
----------\n
1. WARNING in A\A.java (at line 2)\n
 import static B.B.C1;\n
               ^^^^^^\n
The import B.B.C1 is never used\n
----------\n

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

Stacktrace

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

------------ but was ------------
----------\n
1. WARNING in A\A.java (at line 2)\n
	import static B.B.C1;\n
	              ^^^^^^\n
The import B.B.C1 is never used\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in A\A.java (at line 2)\n
	import static B.B.C1;\n
	              ^^^^^^\n
The import B.B.C1 is never used\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test079(StaticImportTest.java:2682)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest#test079 - 10
A/A.java [
package A;
import static B.B.C1;
import B.B.C1;
public abstract class A {
	protected void A1(C1 c) {
	}
}

]
B/B.java [
package B;
final public class B {
	public static class C1 {}
}

]


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

Standard Error

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