Regression

org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test078 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#114 )
Took 0.75 sec.

Error Message

test078 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in A\A.java (at line 3)\n
 import B.B.C1;\n
        ^^^^^^\n
The import B.B.C1 collides with another import statement\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in A\A.java (at line 3)\n
 import B.B.C1;\n
        ^^^^^^\n
The import B.B.C1 collides with another import statement\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in A\A.java (at line 3)\n
	import B.B.C1;\n
	       ^^^^^^\n
The import B.B.C1 collides with another import statement\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in A\A.java (at line 3)\n
	import B.B.C1;\n
	       ^^^^^^\n
The import B.B.C1 collides with another import statement\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test078(StaticImportTest.java:2648)

Standard Output

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

]
B/B.java [
package B;
final public class B {
	private B() {}
	public static class C1 {}
	public static C1 C1(Object o) {
		return new C1();
	}
}

]


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

Standard Error

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