test/tools/javac/TryWithResources/TwrFlow.out

Tue, 29 Mar 2011 16:41:18 +0100

author
mcimadamore
date
Tue, 29 Mar 2011 16:41:18 +0100
changeset 951
de1c65ecfec2
parent 878
fa0e4e1916f4
child 1074
04f983e3e825
permissions
-rw-r--r--

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 TwrFlow.java:14:11: compiler.err.except.never.thrown.in.try: java.io.IOException
     2 TwrFlow.java:12:13: compiler.err.unreported.exception.implicit.close: CustomCloseException, twrFlow
     3 2 errors

mercurial