Failed
org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest.test025 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Failing for the past 1 build
(Since Failed
)
Error Message
test025 - 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 Interface\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 Interface\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test025 - 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 Interface\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 Interface\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest.test025(FieldAccessTest.java:743)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest#test025 - 12 p1/A.java [ package p1; public abstract class A extends Super { } ] p1/Super.java [ package p1; public abstract class Super extends SuperSuper { } ] p1/SuperSuper.java [ package p1; public abstract class SuperSuper implements Interface{ } ] p1/Interface.java [ package p1; public interface Interface{ int field = 123; } ] 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.1565715170219/12_20190813_125251.txt
Standard Error
----------------------------------------