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

Alan Bateman alanb at openjdk.org
Thu Mar 30 07:25: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

The removal of the wrapping looks okay to me.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the core-libs-dev mailing list