src/share/classes/java/lang/invoke/AdapterMethodHandle.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/classes/java/lang/invoke/AdapterMethodHandle.java	Wed Sep  7 21:00:20 2011
--- new/src/share/classes/java/lang/invoke/AdapterMethodHandle.java	Wed Sep  7 21:00:19 2011

*** 51,61 **** --- 51,61 ---- super(newType, convArg, newType.parameterSlotDepth(1+convArgPos(conv))); this.conversion = convCode(conv); // JVM might update VM-specific bits of conversion (ignore) MethodHandleNatives.init(this, target, convArgPos(conv)); } - private AdapterMethodHandle(MethodHandle target, MethodType newType, long conv) { this(target, newType, conv, null); } int getConversion() { return conversion; }
*** 421,431 **** --- 421,431 ---- (int) src << CONV_SRC_TYPE_SHIFT | (int) dest << CONV_DEST_TYPE_SHIFT | insertStackMove(stackMove) ); } - private static long makeConv(int convOp) { assert(convOp == OP_RETYPE_ONLY || convOp == OP_RETYPE_RAW); return ((long)-1 << 32) | (convOp << CONV_OP_SHIFT); // stackMove, src, dst all zero } private static int convCode(long conv) { return (int)conv;

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