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

Mandy Chung mchung at openjdk.org
Thu Mar 30 16:11:21 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.

This pull request has now been integrated.

Changeset: 1d7bb1ff
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1d7bb1ffa0b80d2ef1cd991aa33f13c9b7c47dcc
Stats:     90 lines in 2 files changed: 84 ins; 4 del; 2 mod

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

Reviewed-by: darcy, jpai, alanb

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

PR: https://git.openjdk.org/jdk/pull/13233


More information about the core-libs-dev mailing list