Tue, 15 Feb 2011 11:51:04 +0000
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
Summary: twr should generate better error message when uncaught exceptions are thrown by implicit call of close() method
Reviewed-by: jjg
1 ImplicitFinal.java:14:13: compiler.err.try.resource.may.not.be.assigned: r
2 ImplicitFinal.java:20:13: compiler.err.try.resource.may.not.be.assigned: r1
3 ImplicitFinal.java:26:13: compiler.err.try.resource.may.not.be.assigned: r2
4 ImplicitFinal.java:32:13: compiler.err.try.resource.may.not.be.assigned: r3
5 4 errors