Commit 67b2a930 by Keith Seitz Committed by Keith Seitz

VMVirtualMachine.java (executeMethod): Update from reference implementation.

        * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
        Update from reference implementation.
        * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
        Update parameter list to match new VMVirtualMachine interface.
        * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
        Regenerate.
        * classpath/lib/gnu/classpath/jdwp/processor/
        ObjectReferenceCommandSet.class: Regenerate.
        * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
        * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
        * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.

From-SVN: r125896
parent a7eeed04
2007-07-20 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
Update from reference implementation.
* gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
Update parameter list to match new VMVirtualMachine interface.
* classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
Regenerate.
* classpath/lib/gnu/classpath/jdwp/processor/
ObjectReferenceCommandSet.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
2007-06-18 Keith Seitz <keiths@redhat.com> 2007-06-18 Keith Seitz <keiths@redhat.com>
* gnu/gcj/jvmti/Breakpoint.java: Make abstract. * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
......
...@@ -46,8 +46,8 @@ import gnu.classpath.jdwp.exception.InvalidMethodException; ...@@ -46,8 +46,8 @@ import gnu.classpath.jdwp.exception.InvalidMethodException;
import gnu.classpath.jdwp.exception.JdwpException; import gnu.classpath.jdwp.exception.JdwpException;
import gnu.classpath.jdwp.util.MethodResult; import gnu.classpath.jdwp.util.MethodResult;
import gnu.classpath.jdwp.util.MonitorInfo; import gnu.classpath.jdwp.util.MonitorInfo;
import gnu.classpath.jdwp.value.Value;
import java.lang.reflect.Method;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
...@@ -296,21 +296,23 @@ public class VMVirtualMachine ...@@ -296,21 +296,23 @@ public class VMVirtualMachine
throws JdwpException; throws JdwpException;
/** /**
* Executes a method in the virtual machine * Executes a method in the virtual machine. The thread must already
* be suspended by a previous event. When the method invocation is
* complete, the thread (or all threads if INVOKE_SINGLE_THREADED is
* not set in options) must be suspended before this method returns.
* *
* @param obj instance in which to invoke method (null for static) * @param obj instance in which to invoke method (null for static)
* @param thread the thread in which to invoke the method * @param thread the thread in which to invoke the method
* @param clazz the class in which the method is defined * @param clazz the class in which the method is defined
* @param method the method to invoke * @param method the method to invoke
* @param values arguments to pass to method * @param values arguments to pass to method
* @param nonVirtual "otherwise, normal virtual invoke * @param options invocation options
* (instance methods only) "
* @return a result object containing the results of the invocation * @return a result object containing the results of the invocation
*/ */
public static native MethodResult executeMethod (Object obj, Thread thread, public static native MethodResult executeMethod (Object obj, Thread thread,
Class clazz, Method method, Class clazz, VMMethod method,
Object[] values, Value[] values,
boolean nonVirtual) int options)
throws JdwpException; throws JdwpException;
/** /**
......
...@@ -695,9 +695,9 @@ getLoadRequests (MAYBE_UNUSED ClassLoader *cl) ...@@ -695,9 +695,9 @@ getLoadRequests (MAYBE_UNUSED ClassLoader *cl)
MethodResult * MethodResult *
gnu::classpath::jdwp::VMVirtualMachine:: gnu::classpath::jdwp::VMVirtualMachine::
executeMethod (MAYBE_UNUSED jobject obj, MAYBE_UNUSED Thread *thread, executeMethod (MAYBE_UNUSED jobject obj, MAYBE_UNUSED Thread *thread,
MAYBE_UNUSED jclass clazz, MAYBE_UNUSED reflect::Method *method, MAYBE_UNUSED jclass clazz, MAYBE_UNUSED VMMethod *method,
MAYBE_UNUSED jobjectArray values, MAYBE_UNUSED JArray<value::Value *> *values,
MAYBE_UNUSED jboolean nonVirtual) MAYBE_UNUSED jint options)
{ {
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment