summaryrefslogtreecommitdiff
path: root/libjava/classpath/ChangeLog
diff options
context:
space:
mode:
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-20 20:30:34 +0000
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-20 20:30:34 +0000
commitb2c41dcadaa314fd0e950ba6c9a53058a0515de1 (patch)
tree2111b26ec03f87911659e6bd58a97f1e83b76957 /libjava/classpath/ChangeLog
parent5736c998f5cfdf099b34c2c8822b0f2b7f38cc67 (diff)
downloadgcc-b2c41dcadaa314fd0e950ba6c9a53058a0515de1.tar.gz
Update from classpath trunk:
* gnu/classpath/jdwp/processor/ClassTypeCommandSet.java (executeInvokeMethod): No need to use ValueFactory any more; MethodResult.getReturnedValue now returns a Value. (executeNewInstance): Double-check that return result is an ObjectValue; throw JdwpInternalErrorException if it is not. (invokeMethod): Method IDs come from VMMethod, not VMIdManager. Arguments are Values not Objects. Use ValueFactory to create arguments. Pass invocation options to VMVirtualMachine.executeMethod. Don't do any thread suspend/resume work: VMVM.executeMethod will take care of it. * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java (executeInvokeMethod): Method IDs come from VMMethod, not VMIdManager. Arguments should be Values instead of Objects. Use ValueFactory to create Values. Remove specific option handling and pass options to VMVirtualMachine.executeMethod. Remove thread suspension. Use MethodResult.getReturnedValue to get method's result. * gnu/classpath/jdwp/util/MethodResult.java (returnedValue): Change type to Value. (thrownException): Change type to Throwable. (resType): Remove. (MethodResult): New constructor. (setReturnedValue): Remove. (SetThrownException): Remove. (getResultType): Remove. (setResultType): Remove. * gnu/classpath/jdwp/value/ObjectValue.java (getValue): New method. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod): Replace "nonVirtual" parameter with more generic "options" parameter. Replace java.lang.reflect.Method parameter with VMMethod. Replace Object[] parameter with Value[] parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/ChangeLog')
-rw-r--r--libjava/classpath/ChangeLog39
1 files changed, 39 insertions, 0 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog
index 87a79568ab7..669437a783a 100644
--- a/libjava/classpath/ChangeLog
+++ b/libjava/classpath/ChangeLog
@@ -1,3 +1,42 @@
+2007-07-20 Keith Seitz <keiths@redhat.com>
+
+ * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
+ (executeInvokeMethod): No need to use ValueFactory any more;
+ MethodResult.getReturnedValue now returns a Value.
+ (executeNewInstance): Double-check that return result is
+ an ObjectValue; throw JdwpInternalErrorException if it is not.
+ (invokeMethod): Method IDs come from VMMethod, not VMIdManager.
+ Arguments are Values not Objects.
+ Use ValueFactory to create arguments.
+ Pass invocation options to VMVirtualMachine.executeMethod.
+ Don't do any thread suspend/resume work: VMVM.executeMethod
+ will take care of it.
+ * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
+ (executeInvokeMethod): Method IDs come from VMMethod, not
+ VMIdManager.
+ Arguments should be Values instead of Objects.
+ Use ValueFactory to create Values.
+ Remove specific option handling and pass options to
+ VMVirtualMachine.executeMethod.
+ Remove thread suspension.
+ Use MethodResult.getReturnedValue to get method's result.
+ * gnu/classpath/jdwp/util/MethodResult.java
+ (returnedValue): Change type to Value.
+ (thrownException): Change type to Throwable.
+ (resType): Remove.
+ (MethodResult): New constructor.
+ (setReturnedValue): Remove.
+ (SetThrownException): Remove.
+ (getResultType): Remove.
+ (setResultType): Remove.
+ * gnu/classpath/jdwp/value/ObjectValue.java (getValue):
+ New method.
+ * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
+ (executeMethod): Replace "nonVirtual" parameter with more
+ generic "options" parameter.
+ Replace java.lang.reflect.Method parameter with VMMethod.
+ Replace Object[] parameter with Value[] parameter.
+
2007-05-19 Andreas Tobler <a.tobler@schweiz.org>
PR libgcj/31659