提交 55f51bb5 编写于 作者: R rfield

8010433: Remove lambda metafactory work-around to JDK-8005119

Summary: Restore invokespecial to lambda metafactory
Reviewed-by: ksrini
上级 6d8dcdc3
......@@ -125,10 +125,7 @@ import static sun.invoke.util.Wrapper.isWrapperType;
this.implMethod = implMethod;
this.implInfo = caller.revealDirect(implMethod);
// @@@ Temporary work-around pending resolution of 8005119
this.implKind = (implInfo.getReferenceKind() == MethodHandleInfo.REF_invokeSpecial)
? MethodHandleInfo.REF_invokeVirtual
: implInfo.getReferenceKind();
this.implKind = implInfo.getReferenceKind();
this.implIsInstanceMethod =
implKind == MethodHandleInfo.REF_invokeVirtual ||
implKind == MethodHandleInfo.REF_invokeSpecial ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册