commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog gnu/classpath/jdwp/processo...


From: Keith Seitz
Subject: [commit-cp] classpath ChangeLog gnu/classpath/jdwp/processo...
Date: Tue, 19 Jun 2007 21:57:16 +0000

CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     Keith Seitz <keiths>    07/06/19 21:57:16

Modified files:
        .              : ChangeLog 
        gnu/classpath/jdwp/processor: ClassTypeCommandSet.java 
                                      ObjectReferenceCommandSet.java 
        gnu/classpath/jdwp/util: MethodResult.java 
        gnu/classpath/jdwp/value: ObjectValue.java 
        vm/reference/gnu/classpath/jdwp: VMVirtualMachine.java 

Log message:
                * 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 Objet[] parameter with Value[] parameter.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9324&r2=1.9325
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/classpath/jdwp/processor/ClassTypeCommandSet.java?cvsroot=classpath&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java?cvsroot=classpath&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/classpath/jdwp/util/MethodResult.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/classpath/jdwp/value/ObjectValue.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java?cvsroot=classpath&r1=1.10&r2=1.11




reply via email to

[Prev in Thread] Current Thread [Next in Thread]