--- old/src/share/classes/java/lang/invoke/CallSite.java Thu Sep 8 13:21:17 2011 +++ new/src/share/classes/java/lang/invoke/CallSite.java Thu Sep 8 13:21:17 2011 @@ -87,10 +87,6 @@ public class CallSite { static { MethodHandleImpl.initStatics(); } - // Fields used only by the JVM. Do not use or change. - private MemberName vmmethod; // supplied by the JVM (ref. to calling method) - private int vmindex; // supplied by the JVM (BCI within calling method) - // The actual payload of this call site: /*package-private*/ MethodHandle target; @@ -152,24 +148,6 @@ return target.type(); } - /** Called from JVM (or low-level Java code) after the BSM returns the newly created CallSite. - * The parameters are JVM-specific. - */ - void initializeFromJVM(String name, - MethodType type, - MemberName callerMethod, - int callerBCI) { - if (this.vmmethod != null) { - // FIXME - throw new BootstrapMethodError("call site has already been linked to an invokedynamic instruction"); - } - if (!this.type().equals(type)) { - throw wrongTargetType(target, type); - } - this.vmindex = callerBCI; - this.vmmethod = callerMethod; - } - /** * Returns the target method of the call site, according to the * behavior defined by this call site's specific class.