Failed
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
)
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/comptest/run.1584245034298/10.0.2_20200315_040443.txt
Standard Error
----------------------------------------