Regression

org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest.test074 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

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 - 1.8
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.1566619421654/1.8.0_162_20190824_000350.txt

Standard Error

--- javac err: ---
test/Outer.java:4: error: cannot find symbol
    int i = VALUE;
            ^
  symbol:   variable VALUE
  location: class Outer
1 error

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