src/share/classes/java/lang/invoke/DirectMethodHandle.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/classes/java/lang/invoke/DirectMethodHandle.java Thu Sep 8 13:21:18 2011
--- new/src/share/classes/java/lang/invoke/DirectMethodHandle.java Thu Sep 8 13:21:18 2011
*** 30,43 ****
--- 30,39 ----
/**
* 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());
*** 44,53 ****
--- 40,45 ----
if (!m.isResolved())
throw new InternalError();
MethodHandleNatives.init(this, (Object) m, doDispatch, lookupClass);
}
boolean isValid() {
return (vmindex != VM_INDEX_UNINITIALIZED);
}
}
src/share/classes/java/lang/invoke/DirectMethodHandle.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File