Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest.test025 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since #168 )
Took 0.65 sec.

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 - 1.8
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 /home/jenkins/agent/workspace/eclipse.jdt.core-run.javac-1.8/tmp/comptest/run.1584479137560/1.8.0_202_20200317_210541.txt

Standard Error

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