javac warnings for multi-catch

Tim Peierls tim at peierls.net
Wed Apr 27 06:20:50 PDT 2011


On Tue, Apr 26, 2011 at 2:23 AM, David Holmes <David.Holmes at oracle.com>wrote:

> Perhaps it would be better to restrict the warnings to the cases where a
> previous clause will catch the exception expected by the later clause,
> rather than incorrectly assuming which exceptions can be thrown from the
> methods in the try-block.
>

Agreed. Don't say unreachable if it really is reachable.

--tim



More information about the coin-dev mailing list