Failed

org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.testBug542707_002 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 10 builds (Since Failed#44 )
Took 0.79 sec.

Error Message

testBug542707_002: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$Excuse@380d8b0e for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@3cf1b5fb

Stacktrace

junit.framework.AssertionFailedError: testBug542707_002: unused excuse org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacTestOptions$Excuse@380d8b0e for compiler org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest$JavacCompiler@3cf1b5fb
	at org.eclipse.jdt.core.tests.compiler.regression.NullAnnotationTest.testBug542707_002(NullAnnotationTest.java:10427)

Standard Output


Full results sent to /tmp/comptest/run.1573297474160/12_20191109_110435.txt

Standard Error

--- javac err: ---
X.java:5: error: switch expressions are a preview feature and are disabled by default.
			m1(switch(i) {
			   ^
  (use --enable-preview to enable switch expressions)
1 error