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

Restore invokespecial to lambda metafactory

Reviewed-by: ksrini
This commit is contained in:
Robert Field 2013-10-03 10:23:48 -07:00
parent ccbfbe8736
commit 551b5e50c6

View File

@ -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 ||