src/share/classes/java/lang/invoke/CallSite.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/classes/java/lang/invoke/CallSite.java Tue Jul 15 17:49:26 2014
--- new/src/share/classes/java/lang/invoke/CallSite.java Tue Jul 15 17:49:26 2014
*** 209,219 ****
--- 209,219 ----
* @return a method handle which always invokes this call site's current target
*/
public abstract MethodHandle dynamicInvoker();
/*non-public*/ MethodHandle makeDynamicInvoker() {
! MethodHandle getTarget = GET_TARGET.bindReceiver(this);
! MethodHandle getTarget = GET_TARGET.bindArgumentL(0, this);
MethodHandle invoker = MethodHandles.exactInvoker(this.type());
return MethodHandles.foldArguments(invoker, getTarget);
}
private static final MethodHandle GET_TARGET;
src/share/classes/java/lang/invoke/CallSite.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File