mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8280377: MethodHandleProxies does not correctly invoke default methods with varags
Reviewed-by: alanb
This commit is contained in:
parent
2eab86b513
commit
a183bfb436
12 changed files with 295 additions and 66 deletions
|
@ -127,4 +127,9 @@ class ReflectAccess implements jdk.internal.access.JavaLangReflectAccess {
|
|||
{
|
||||
return ctor.newInstanceWithCaller(args, true, caller);
|
||||
}
|
||||
|
||||
public Object invokeDefault(Object proxy, Method method, Object[] args, Class<?> caller)
|
||||
throws Throwable {
|
||||
return Proxy.invokeDefault(proxy, method, args, caller);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue