src/share/classes/java/lang/invoke/MethodHandles.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/classes/java/lang/invoke/MethodHandles.java Fri Jul 11 20:08:54 2014
--- new/src/share/classes/java/lang/invoke/MethodHandles.java Fri Jul 11 20:08:54 2014
*** 860,869 ****
--- 860,871 ----
// these names require special lookups because of the implicit MethodType argument
if ("invoke".equals(name))
return invoker(type);
if ("invokeExact".equals(name))
return exactInvoker(type);
+ if ("invokeBasic".equals(name))
+ return basicInvoker(type);
assert(!MemberName.isMethodHandleInvokeName(name));
return null;
}
/**
*** 1958,1968 ****
--- 1960,1970 ----
return type.invokers().generalInvoker();
}
static /*non-public*/
MethodHandle basicInvoker(MethodType type) {
! return type.form().basicInvoker();
! return type.invokers().basicInvoker();
}
/// method handle modification (creation from other method handles)
/**
src/share/classes/java/lang/invoke/MethodHandles.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File