Tue, 29 Mar 2011 16:41:18 +0100
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
Summary: javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException
Reviewed-by: jjg
1 BadTwr.java:13:39: compiler.err.already.defined: r1, main(java.lang.String...)
2 BadTwr.java:18:13: compiler.err.already.defined: args, main(java.lang.String...)
3 BadTwr.java:21:13: compiler.err.cant.assign.val.to.final.var: thatsIt
4 BadTwr.java:26:17: compiler.err.already.defined: name, main(java.lang.String...)
5 4 errors