Feedback and comments on ARM proposal (original) (raw)
Joshua Bloch jjb at google.com
Wed Mar 18 15:50:33 PDT 2009
- Previous message: Feedback and comments on ARM proposal - resend
- Next message: Feedback and comments on ARM proposal - resend
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Mar 18, 2009 at 3:29 PM, Neal Gafter <neal at gafter.com> wrote:
On Wed, Mar 18, 2009 at 2:02 PM, Joshua Bloch <jjb at google.com> wrote: > I don't think it's realistic, ever, to change this because it isn't > compatible to take a throws clause off of an overridable method: it breaks > subtypes.
It's not even compatible to remove a throws clause from a non-overridable method! That's because it would break callers who invoke it in a try-catch statement.
Good point.
Josh
- Previous message: Feedback and comments on ARM proposal - resend
- Next message: Feedback and comments on ARM proposal - resend
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]