RFR: 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE [v2]
Jaikiran Pai
jpai at openjdk.org
Thu Mar 30 01:22:18 UTC 2023
On Thu, 30 Mar 2023 01:15:33 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.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>
> the test should fail if Method::invoke doesn't throw
Looks fine to me.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13233#pullrequestreview-1364192193
More information about the core-libs-dev
mailing list