Multi-catch/final rethrow
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue May 4 09:04:17 PDT 2010
Stephen Colebourne wrote:
> Agreed - that is the perspective from a compiler writer. Its just
> "better flow analysis". But most developers don't understand that.
>
> The new code says "throw", the type it is throwing is "Exception", yet
> it isn't declared in the method signature - the exception disappears
> into thin air! (at least in the eyes of many devs).
>
> There be a puzzler here...
>
> Stephen
>
Yes, any change to the language/compiler is sure to puzzle some folk.
The trick is to minimize the number of folk who remain puzzled once any
new features are explained.
-- Jon
More information about the coin-dev
mailing list