Skip to content

Failed

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

Standard Error

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

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