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

Mandy Chung mchung at openjdk.org
Thu Mar 30 01:15:33 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.

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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13233/files
  - new: https://git.openjdk.org/jdk/pull/13233/files/45c7daf0..9af2d663

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13233&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13233&range=00-01

  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 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