summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-20 20:32:20 +0000
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-20 20:32:20 +0000
commitcfe3c87159b320059059479eb768ec6b8081e0ff (patch)
tree25fa1fc0f2da197f8c4b3ef21c8e2fdd4ab63e0c /libjava
parentb2c41dcadaa314fd0e950ba6c9a53058a0515de1 (diff)
downloadgcc-cfe3c87159b320059059479eb768ec6b8081e0ff.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125896 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog14
-rw-r--r--libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.classbin4063 -> 4080 bytes
-rw-r--r--libjava/classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.classbin5735 -> 5526 bytes
-rw-r--r--libjava/classpath/lib/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.classbin6671 -> 6519 bytes
-rw-r--r--libjava/classpath/lib/gnu/classpath/jdwp/util/MethodResult.classbin1147 -> 785 bytes
-rw-r--r--libjava/classpath/lib/gnu/classpath/jdwp/value/ObjectValue.classbin1009 -> 1081 bytes
-rw-r--r--libjava/gnu/classpath/jdwp/VMVirtualMachine.java16
-rw-r--r--libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc6
8 files changed, 26 insertions, 10 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 1a73a9b32c4..87c2fc5b2e8 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,17 @@
+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>
* gnu/gcj/jvmti/Breakpoint.java: Make abstract.
diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class b/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class
index f62976a99f5..c3bedb71e34 100644
--- a/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class
+++ b/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class
Binary files differ
diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class b/libjava/classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class
index 962c347734b..3f713adf7ce 100644
--- a/libjava/classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class
+++ b/libjava/classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class
Binary files differ
diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.class b/libjava/classpath/lib/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.class
index 8004557e409..093ff57353e 100644
--- a/libjava/classpath/lib/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.class
+++ b/libjava/classpath/lib/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.class
Binary files differ
diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/util/MethodResult.class b/libjava/classpath/lib/gnu/classpath/jdwp/util/MethodResult.class
index 1e077c6a48c..6ceb5fd9a1f 100644
--- a/libjava/classpath/lib/gnu/classpath/jdwp/util/MethodResult.class
+++ b/libjava/classpath/lib/gnu/classpath/jdwp/util/MethodResult.class
Binary files differ
diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class b/libjava/classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class
index 09f765c4338..6a34d87b0c2 100644
--- a/libjava/classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class
+++ b/libjava/classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class
Binary files differ
diff --git a/libjava/gnu/classpath/jdwp/VMVirtualMachine.java b/libjava/gnu/classpath/jdwp/VMVirtualMachine.java
index 91e9965d0e2..4431e0f6a47 100644
--- a/libjava/gnu/classpath/jdwp/VMVirtualMachine.java
+++ b/libjava/gnu/classpath/jdwp/VMVirtualMachine.java
@@ -46,8 +46,8 @@ import gnu.classpath.jdwp.exception.InvalidMethodException;
import gnu.classpath.jdwp.exception.JdwpException;
import gnu.classpath.jdwp.util.MethodResult;
import gnu.classpath.jdwp.util.MonitorInfo;
+import gnu.classpath.jdwp.value.Value;
-import java.lang.reflect.Method;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collection;
@@ -296,21 +296,23 @@ public class VMVirtualMachine
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 thread the thread in which to invoke the method
* @param clazz the class in which the method is defined
* @param method the method to invoke
* @param values arguments to pass to method
- * @param nonVirtual "otherwise, normal virtual invoke
- * (instance methods only) "
+ * @param options invocation options
* @return a result object containing the results of the invocation
*/
public static native MethodResult executeMethod (Object obj, Thread thread,
- Class clazz, Method method,
- Object[] values,
- boolean nonVirtual)
+ Class clazz, VMMethod method,
+ Value[] values,
+ int options)
throws JdwpException;
/**
diff --git a/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc b/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc
index db33781378e..ba123539e17 100644
--- a/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc
+++ b/libjava/gnu/classpath/jdwp/natVMVirtualMachine.cc
@@ -695,9 +695,9 @@ getLoadRequests (MAYBE_UNUSED ClassLoader *cl)
MethodResult *
gnu::classpath::jdwp::VMVirtualMachine::
executeMethod (MAYBE_UNUSED jobject obj, MAYBE_UNUSED Thread *thread,
- MAYBE_UNUSED jclass clazz, MAYBE_UNUSED reflect::Method *method,
- MAYBE_UNUSED jobjectArray values,
- MAYBE_UNUSED jboolean nonVirtual)
+ MAYBE_UNUSED jclass clazz, MAYBE_UNUSED VMMethod *method,
+ MAYBE_UNUSED JArray<value::Value *> *values,
+ MAYBE_UNUSED jint options)
{
return NULL;
}