Approved.
regards,
Sean.
On 04/09/2012 17:42, Joe Darcy wrote:
Hello,
Please consider for 7u10 a backport of the fix for
7178324: Crash when compiling for(i : x) try(AutoCloseable x = ...) {}
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7178324
from JDK 8:
http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f071cd32d297
With the fix, inside the compiler the end position of a
try-with-resources statement is properly recorded even when it has no
catch blocks and does not appear in an enclosing block itself.
Thanks,
-Joe