Update from classpath trunk:
authorKeith Seitz <keiths@redhat.com>
Wed, 20 Jun 2007 20:30:34 +0000 (20:30 +0000)
committerKeith Seitz <kseitz@gcc.gnu.org>
Wed, 20 Jun 2007 20:30:34 +0000 (20:30 +0000)
commita7eeed049b13081415cd32acf5e5c1de3d787bdd
tree2111b26ec03f87911659e6bd58a97f1e83b76957
parent7e657ec235f32af78f39a1c710737cc6191b0bde
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.

From-SVN: r125895
libjava/classpath/ChangeLog
libjava/classpath/gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
libjava/classpath/gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
libjava/classpath/gnu/classpath/jdwp/util/MethodResult.java
libjava/classpath/gnu/classpath/jdwp/value/ObjectValue.java
libjava/classpath/vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java