Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.4.2
-
None
Description
The following code will trigger a compiler error, because of the try{} block used inside a statically compiled, optimized foreach loop:
@CompileStatc private void foo(String[] arr) { for (String s in arr) { try { println(s) } catch (e) {} } }