Failed

org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest.test058_definite_unassignment_try_finally - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since Failed#130 )
Took 0.63 sec.

Error Message

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

------------ but was ------------
X.java:8: error: variable i might be assigned in loop\n
        i = 0;\n
        ^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:8: error: variable i might be assigned in loop\n
        i = 0;\n
        ^\n
1 error\n
]>

Stacktrace

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

------------ but was ------------
X.java:8: error: variable i might be assigned in loop\n
        i = 0;\n
        ^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:8: error: variable i might be assigned in loop\n
        i = 0;\n
        ^\n
1 error\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest.test058_definite_unassignment_try_finally(AssignmentTest.java:1479)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest#test058_definite_unassignment_try_finally - 1.8
X.java [
public class X {
  public static void main(String args[]) {
    final int i;
    do {
      try {
        break;
      } finally {
        i = 0;
      }
    } while (args.length > 0);
    System.out.println(i);
  }
}
]


Full results sent to /tmp/comptest/run.1575090299186/1.8.0_202_20191130_050502.txt

Standard Error

--- javac err: ---
X.java:8: error: variable i might be assigned in loop
        i = 0;
        ^
1 error

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