src/share/classes/java/lang/invoke/MethodHandles.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File jdk Cdiff src/share/classes/java/lang/invoke/MethodHandles.java

src/share/classes/java/lang/invoke/MethodHandles.java

Print this page
rev 10274 : 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: ?

*** 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 **** return type.invokers().generalInvoker(); } static /*non-public*/ MethodHandle basicInvoker(MethodType type) { ! return type.form().basicInvoker(); } /// method handle modification (creation from other method handles) /** --- 1960,1970 ---- return type.invokers().generalInvoker(); } static /*non-public*/ MethodHandle basicInvoker(MethodType type) { ! 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