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
duke@1 | 1 | T6214885.java:11 cannot find symbol |
duke@1 | 2 | x = 1; |
duke@1 | 3 | ^ |
mcimadamore@221 | 4 | symbol: variable x |
mcimadamore@221 | 5 | location: class T6214885 |
duke@1 | 6 | 1 error |