[7u10] Request for approval for CR 7178324 - Crash when compiling for(i : x) try(AutoCloseable x = ...) {}
Joe Darcy
joe.darcy at oracle.com
Tue Sep 4 09:42:15 PDT 2012
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
More information about the jdk7u-dev
mailing list