Code review request for 6857789: (reflect) Create common superclass of reflective exceptions
Joseph D. Darcy
Joe.Darcy at Sun.COM
Fri Jul 10 17:49:37 UTC 2009
Rémi Forax wrote:
> This request seems dangerous,
> InvocationTargetException should not be retrofitted because
> usually its catch block is different from the others.
> As is, this patch will introduce more burden than it tries to revolve.
If needed InvocationTargetException can continue to have a separate
catch block; if you happen to put a catch for
ReflectiveOperationException ahead of InvocationTargetException, the
compiler will emit an error.
-Joe
More information about the core-libs-dev
mailing list