Regression

org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest.test023 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#100 )
Took 0.72 sec.

Error Message

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

------------ but was ------------
----------\n
1. WARNING in p2\B.java (at line 4)\n
 protected int field;\n
               ^^^^^\n
The field B.field is hiding a field from type A\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in p2\B.java (at line 4)\n
 protected int field;\n
               ^^^^^\n
The field B.field is hiding a field from type A\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. WARNING in p2\B.java (at line 4)\n
	protected int field;\n
	              ^^^^^\n
The field B.field is hiding a field from type A\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in p2\B.java (at line 4)\n
	protected int field;\n
	              ^^^^^\n
The field B.field is hiding a field from type A\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest.test023(FieldAccessTest.java:689)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest#test023 - 10
p1/A.java [
package p1;
public abstract class A {
    protected int field;
}

]
p2/B.java [
package p2;
import p1.A;
public abstract class B extends A {
    protected int field;
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1568520209929/10.0.1_20190915_000338.txt

Standard Error

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