git: openjdk/jdk: 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE

Mandy Chung mchung at openjdk.org
Thu Mar 30 16:09:55 UTC 2023


Changeset: 1d7bb1ff
Author:    Mandy Chung <mchung at openjdk.org>
Date:      2023-03-30 16:07:47 +0000
URL:       https://git.openjdk.org/jdk/commit/1d7bb1ffa0b80d2ef1cd991aa33f13c9b7c47dcc

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

Reviewed-by: darcy, jpai, alanb

! src/java.base/share/classes/jdk/internal/reflect/DirectMethodHandleAccessor.java
+ test/jdk/java/lang/reflect/Method/CallerSensitiveMethodInvoke.java



More information about the jdk-changes mailing list