Failed

org.eclipse.jdt.core.tests.compiler.regression.SwitchTest.testBug374605 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 15 builds (Since Failed#81 )
Took 0.81 sec.

Error Message

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

------------ but was ------------
----------\n
1. WARNING in p\X.java (at line 4)\n
 switch (i) {\n
         ^\n
The switch statement should have a default case\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in p\X.java (at line 4)\n
 switch (i) {\n
         ^\n
The switch statement should have a default case\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. WARNING in p\X.java (at line 4)\n
	switch (i) {\n
	        ^\n
The switch statement should have a default case\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. WARNING in p\X.java (at line 4)\n
	switch (i) {\n
	        ^\n
The switch statement should have a default case\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.SwitchTest.testBug374605(SwitchTest.java:2144)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.SwitchTest#testBug374605 - 10
p/X.java [
package p;
class X {
  void v(int i) {
    switch (i) {
      case 1 :
        break;
      case 2 :
        break;
    }
  }
}
]


Full results sent to /tmp/genie.jdt/comptest/run.1565496180436/10.0.1_20190811_000308.txt

Standard Error

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