RFR: 8300924: Method::invoke throws wrong exception type when passing wrong number of arguments to method with 4 or more parameters
Roger Riggs
rriggs at openjdk.org
Thu Jan 26 19:36:20 UTC 2023
On Tue, 24 Jan 2023 18:19:22 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> A simple fix in core reflection to check if the number of actual and formal parameters differ before invoking the method or the constructor regardless of whether it's a specialized case or not.
LGTM
-------------
Marked as reviewed by rriggs (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12170
More information about the core-libs-dev
mailing list