8198719: MethodHandleHelper.linkToStatic should drop MH arg
Reviewed-by: vlivanov, dlong
This commit is contained in:
parent
0bb3443a98
commit
d571ea407c
@ -39,7 +39,7 @@ public class InvokerSignatureMismatch {
|
||||
|
||||
static void mainLink(int i) throws Throwable {
|
||||
Object name = MethodHandleHelper.internalMemberName(INT_MH);
|
||||
MethodHandleHelper.linkToStatic(INT_MH, (float) i, name);
|
||||
MethodHandleHelper.linkToStatic((float) i, name);
|
||||
}
|
||||
|
||||
static void mainInvoke(int i) throws Throwable {
|
||||
|
@ -49,8 +49,8 @@ public class MethodHandleHelper {
|
||||
}
|
||||
|
||||
@ForceInline
|
||||
public static void linkToStatic(MethodHandle mh, float arg, Object name) throws Throwable {
|
||||
MethodHandle.linkToStatic(mh, arg, name);
|
||||
public static void linkToStatic(float arg, Object name) throws Throwable {
|
||||
MethodHandle.linkToStatic(arg, name);
|
||||
}
|
||||
|
||||
@ForceInline
|
||||
|
Loading…
Reference in New Issue
Block a user