On Tue, 24 Jan 2023 18:19:22 GMT, Mandy Chung <mch...@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. This pull request has now been integrated. Changeset: 7aaf76c5 Author: Mandy Chung <mch...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/7aaf76c5290a1688f9450a357aaae964615c29d0 Stats: 85 lines in 3 files changed: 67 ins; 10 del; 8 mod 8300924: Method::invoke throws wrong exception type when passing wrong number of arguments to method with 4 or more parameters Reviewed-by: rriggs ------------- PR: https://git.openjdk.org/jdk/pull/12170