RFR: 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE

Joe Darcy darcy at openjdk.org
Wed Mar 29 22:08:58 UTC 2023


On Wed, 29 Mar 2023 21:26:24 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> A simple fix to `Method::invoke` which wraps IAE with `InvocationTargetException` twice if it's thrown by a caller-sensitive method which has no adapter.

Looks fine.

-------------

Marked as reviewed by darcy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13233#pullrequestreview-1364018900


More information about the core-libs-dev mailing list