Failed

org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest.test132 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since #6 )
Took 0.72 sec.

Error Message

test132 - Eclipse/Javac standard error mismatch.
----------- Expected ------------
java.lang.Error
------------ but was ------------
Exception in thread "main" java.lang.Error\n
 at X.main(X.java:13)
--------- Difference is ----------
 expected:<[java.lang.Error]> but was:<[Exception in thread "main" java.lang.Error\n
 at X.main(X.java:13)]>

Stacktrace

junit.framework.ComparisonFailure: test132 - Eclipse/Javac standard error mismatch.
----------- Expected ------------
java.lang.Error
------------ but was ------------
Exception in thread "main" java.lang.Error\n
	at X.main(X.java:13)
--------- Difference is ----------
 expected:<[java.lang.Error]> but was:<[Exception in thread "main" java.lang.Error\n
	at X.main(X.java:13)]>
	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:2072)
	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.runNegativeTest(AbstractRegressionTest.java:2301)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java:2289)
	at org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest.test132(AnnotationTest.java:4062)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest#test132 - 1.8
X.java [
import java.io.Serializable;
import java.util.List;
import java.util.Vector;

public class X {
	public static void main(String[] args) {
		W.deprecated();
		List<X> l = new Vector();
		l.size();
		try {
			// do nothing
		} finally {
			throw new Error();
		}
		// Zork z;
	}

	class S implements Serializable {
		String dummy;
	}
}
]
W.java [
public class W {
	// @deprecated
	@Deprecated
	static void deprecated() {
		// do nothing
	}
}

]


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

Standard Error

--- javac err: ---
X.java:7: warning: [deprecation] deprecated() in W has been deprecated
		W.deprecated();
		 ^
X.java:8: warning: [rawtypes] found raw type: Vector
		List<X> l = new Vector();
		                ^
  missing type arguments for generic class Vector<E>
  where E is a type-variable:
    E extends Object declared in class Vector
X.java:8: warning: [unchecked] unchecked conversion
		List<X> l = new Vector();
		            ^
  required: List<X>
  found:    Vector
X.java:18: warning: [serial] serializable class X.S has no definition of serialVersionUID
	class S implements Serializable {
	^
X.java:14: warning: [finally] finally clause cannot complete normally
		}
		^
5 warnings

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