Failed

org.eclipse.jdt.core.tests.compiler.regression.SwitchTest.test387146b - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 51 builds (Since #64 )
Took 0.62 sec.

Error Message

test387146b - Javac found warning(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
X.java:10: warning: [fallthrough] possible fall-through into case\n
  case 2:\n
  ^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:10: warning: [fallthrough] possible fall-through into case\n
  case 2:\n
  ^\n
1 warning\n
]>

Stacktrace

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

------------ but was ------------
X.java:10: warning: [fallthrough] possible fall-through into case\n
		case 2:\n
		^\n
1 warning\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:10: warning: [fallthrough] possible fall-through into case\n
		case 2:\n
		^\n
1 warning\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.SwitchTest.test387146b(SwitchTest.java:2601)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.SwitchTest#test387146b - 1.8
X.java [
public class X {
	private boolean someFlag;
	public void foo1(int i) {
		switch (i) {
		case 1:
			if (someFlag) {
				System.out.println();
			}
			//$FALL-THROUGH$
		case 2:
			System.out.println();
			break;
		default:
			System.out.println();
		}
	}
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1566619421654/1.8.0_162_20190824_000350.txt

Standard Error

--- javac err: ---
X.java:10: warning: [fallthrough] possible fall-through into case
		case 2:
		^
1 warning

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