[7u10] Request for approval for CR 7178324 - Crash when compiling for(i : x) try(AutoCloseable x = ...) {}

Seán Coffey sean.coffey at oracle.com
Tue Sep 4 09:54:30 PDT 2012


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
>




More information about the jdk7u-dev mailing list