Regression

org.eclipse.jdt.core.tests.compiler.regression.ProblemConstructorTest.test009 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#53 )
Took 0.9 sec.

Error Message

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

------------ but was ------------
----------\n
1. WARNING in A.java (at line 7)\n
 public B () { super(""); }\n
        ^^^^\n
The constructor C.B() is never used locally\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in A.java (at line 7)\n
 public B () { super(""); }\n
        ^^^^\n
The constructor C.B() is never used locally\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. WARNING in A.java (at line 7)\n
	public B () { super(""); }\n
	       ^^^^\n
The constructor C.B() is never used locally\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in A.java (at line 7)\n
	public B () { super(""); }\n
	       ^^^^\n
The constructor C.B() is never used locally\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.ProblemConstructorTest.test009(ProblemConstructorTest.java:316)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.ProblemConstructorTest#test009 - 12
A.java [
public class A {
	public A(String s) {}
	protected A() {}
}
class C {
	private static class B extends A {
		public B () { super(""); }
		static void foo() {}
	}
	C() {
		B.foo();
	}
}

]


Full results sent to /tmp/comptest/run.1573297474160/12_20191109_110435.txt

Standard Error

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