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

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

Print this page

        

*** 30,43 **** /** * The flavor of method handle which emulates invokespecial or invokestatic. * @author jrose */ class DirectMethodHandle extends MethodHandle { - //inherited oop vmtarget; // methodOop or virtual class/interface oop - private final int vmindex; // method index within class or interface - { vmindex = VM_INDEX_UNINITIALIZED; } // JVM may change this - // Constructors in this class *must* be package scoped or private. DirectMethodHandle(MethodType mtype, MemberName m, boolean doDispatch, Class<?> lookupClass) { super(mtype); assert(m.isMethod() || !doDispatch && m.isConstructor()); --- 30,39 ----
*** 44,53 **** if (!m.isResolved()) throw new InternalError(); MethodHandleNatives.init(this, (Object) m, doDispatch, lookupClass); } - - boolean isValid() { - return (vmindex != VM_INDEX_UNINITIALIZED); - } } --- 40,45 ----
src/share/classes/java/lang/invoke/DirectMethodHandle.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File