-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
Affects Version/s: 7
-
Component/s: core-libs
-
generic
-
generic
API clarifications related to rfe 6531596, specifically to
Method.invoke handling of AbstractMethodError.
1. Method.invoke documentation change:
current:
InvocationTargetException - if the underlying method throws an exception
change to:
InvocationTargetException - wraps any Throwable thrown by the invocation
of the underlying method, including AbstractMethodError found during
dynamic method lookup of the underlying method.
Method.invoke handling of AbstractMethodError.
1. Method.invoke documentation change:
current:
InvocationTargetException - if the underlying method throws an exception
change to:
InvocationTargetException - wraps any Throwable thrown by the invocation
of the underlying method, including AbstractMethodError found during
dynamic method lookup of the underlying method.
- duplicates
-
JDK-8335478 Add notes for Error handling in Method.invoke and Constructor.newInstance
-
- Open
-
- relates to
-
JDK-6531596 Wrong exception from Method.invoke() call
-
- Closed
-