Failed
org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test074 - 11 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Failing for the past 1 build
(Since Failed
)
Error Message
test074 - Javac found error(s) but Eclipse did not find any. ----------- Expected ------------ ------------ but was ------------ test/Outer.java:4: error: cannot find symbol\n int i = VALUE;\n ^\n symbol: variable VALUE\n location: class Outer\n 1 error\n --------- Difference is ---------- expected:<[]> but was:<[test/Outer.java:4: error: cannot find symbol\n int i = VALUE;\n ^\n symbol: variable VALUE\n location: class Outer\n 1 error\n ]>
Stacktrace
junit.framework.ComparisonFailure: test074 - Javac found error(s) but Eclipse did not find any. ----------- Expected ------------ ------------ but was ------------ test/Outer.java:4: error: cannot find symbol\n int i = VALUE;\n ^\n symbol: variable VALUE\n location: class Outer\n 1 error\n --------- Difference is ---------- expected:<[]> but was:<[test/Outer.java:4: error: cannot find symbol\n int i = VALUE;\n ^\n symbol: variable VALUE\n location: class Outer\n 1 error\n ]> at org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test074(StaticImportTest.java:2538)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest#test074 - 11 test/Outer.java [ package test; import static test.Outer.Inner.*; public class Outer { int i = VALUE; int i2 = Inner.VALUE; static class Inner { private static final int VALUE = 0; } } ] Full results sent to /tmp/genie.jdt/comptest/run.1565427784609/11_20190810_050312.txt
Standard Error
--- javac err: --- test/Outer.java:4: error: cannot find symbol int i = VALUE; ^ symbol: variable VALUE location: class Outer 1 error ----------------------------------------