Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.RuntimeTests.test1003_partial_rebuild - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since #9 )
Took 1.3 sec.

Error Message

test1003_partial_rebuild - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
./Z.java:8: error: foo() has protected access in Y.YInner\n
    new ZInner().foo();\n
                ^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[./Z.java:8: error: foo() has protected access in Y.YInner\n
    new ZInner().foo();\n
                ^\n
1 error\n
]>

Stacktrace

junit.framework.ComparisonFailure: test1003_partial_rebuild - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
./Z.java:8: error: foo() has protected access in Y.YInner\n
    new ZInner().foo();\n
                ^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[./Z.java:8: error: foo() has protected access in Y.YInner\n
    new ZInner().foo();\n
                ^\n
1 error\n
]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:260)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:236)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runJavac(AbstractRegressionTest.java:2052)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2814)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2539)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:2958)
	at org.eclipse.jdt.core.tests.compiler.regression.RuntimeTests.test1003_partial_rebuild(RuntimeTests.java:445)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.RuntimeTests#test1003_partial_rebuild - 1.8
X.java [
public class X {
static public void main(String args[]) {
  new Z().go();
}
}

]
p/Y.java [
package p;
public class Y {
  public class YInner {
    protected void foo() {
      return;
    }
  }
}

]


Full results sent to /tmp/comptest/run.1514610271420/1.8.0_131_20171230_000432.txt

Standard Error

--- javac err: ---
./Z.java:8: error: foo() has protected access in Y.YInner
    new ZInner().foo();
                ^
1 error

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