Skip to content

Commit

Permalink
fix: fix invocations of no-param default methods
Browse files Browse the repository at this point in the history
Signed-off-by: Mariell Hoversholm <[email protected]>
  • Loading branch information
Proximyst authored and Mariell Hoversholm committed Dec 3, 2021
1 parent 9551a6c commit 07fcc7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
// ... in which case, find it and invoke it appropriately.
final MethodHandle handle = ReflectiveUtils.findMethod(method, proxy);
if (args.length == 0) {
return handle.invokeExact(proxy);
return handle.invoke();
} else {
return handle.invokeWithArguments(args);
}
Expand Down

0 comments on commit 07fcc7b

Please sign in to comment.