src/share/classes/java/lang/invoke/SimpleMethodHandle.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/classes/java/lang/invoke/SimpleMethodHandle.java	Sat Mar 22 02:03:13 2014
--- new/src/share/classes/java/lang/invoke/SimpleMethodHandle.java	Sat Mar 22 02:03:12 2014

*** 24,34 **** --- 24,34 ---- */ package java.lang.invoke; import static java.lang.invoke.LambdaForm.*; ! import static java.lang.invoke.MethodHandleNatives.Constants.*; ! import static java.lang.invoke.LambdaForm.BasicType.*; /** * A method handle whose behavior is determined only by its LambdaForm. * @author jrose */
*** 40,50 **** --- 40,50 ---- /*non-public*/ static SimpleMethodHandle make(MethodType type, LambdaForm form) { return new SimpleMethodHandle(type, form); } @Override ! MethodHandle bindArgument(int pos, char basicType, Object value) { ! MethodHandle bindArgument(int pos, BasicType basicType, Object value) { MethodType type2 = type().dropParameterTypes(pos, pos+1); LambdaForm form2 = internalForm().bind(1+pos, BoundMethodHandle.SpeciesData.EMPTY); return BoundMethodHandle.bindSingle(type2, form2, basicType, value); }

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