mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8050173: Add j.l.i.MethodHandle.copyWith(MethodType, LambdaForm)
Reviewed-by: vlivanov, psandoz
This commit is contained in:
parent
2f4b5e8534
commit
71bae4addc
7 changed files with 93 additions and 41 deletions
|
@ -242,7 +242,7 @@ public class CallSite {
|
|||
invoker = basicType.form().setCachedMethodHandle(MethodTypeForm.MH_UNINIT_CS, invoker);
|
||||
}
|
||||
// unchecked view is OK since no values will be received or returned
|
||||
return invoker.viewAsType(targetType);
|
||||
return invoker.viewAsType(targetType, false);
|
||||
}
|
||||
|
||||
// unsafe stuff:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue