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

Mandy Chung mchung at openjdk.org
Wed Mar 29 21:50:16 UTC 2023


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.

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

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

Changes: https://git.openjdk.org/jdk/pull/13233/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13233&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304585
  Stats: 87 lines in 2 files changed: 81 ins; 4 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/13233.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13233/head:pull/13233

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


More information about the core-libs-dev mailing list