Package gnu.classpath.jdwp.util

Examples of gnu.classpath.jdwp.util.MethodResult


  }

  private void executeInvokeMethod(ByteBuffer bb, DataOutputStream os)
      throws JdwpException, IOException
  {
    MethodResult mr = invokeMethod(bb);

    Object value = mr.getReturnedValue();
    Exception exception = mr.getThrownException();
    ObjectId eId = idMan.getObjectId(exception);

    Value.writeTaggedValue(os, value);
    eId.writeTagged(os);
  }
View Full Code Here


  }

  private void executeNewInstance(ByteBuffer bb, DataOutputStream os)
      throws JdwpException, IOException
  {
    MethodResult mr = invokeMethod(bb);

    Object obj = mr.getReturnedValue();
    ObjectId oId = idMan.getObjectId(obj);
    Exception exception = mr.getThrownException();
    ObjectId eId = idMan.getObjectId(exception);

    oId.writeTagged(os);
    eId.writeTagged(os);
  }
View Full Code Here

    try
      {
        if (suspend)
    VMVirtualMachine.suspendAllThreads ();

        MethodResult mr = VMVirtualMachine.executeMethod(null, thread,
               clazz, method,
               values, false);
        if (suspend)
    VMVirtualMachine.resumeAllThreads ();
View Full Code Here

    boolean nonVirtual = ((invokeOptions
         & JdwpConstants.InvokeOptions.INVOKE_NONVIRTUAL)
        != 0);

    MethodResult mr = VMVirtualMachine.executeMethod(obj, thread,
                 clazz, method,
                 values, nonVirtual);
    Object value = mr.getReturnedValue();
    Exception exception = mr.getThrownException();

    ObjectId eId = idMan.getObjectId(exception);
    Value.writeTaggedValue(os, value);
    eId.writeTagged(os);
  }
View Full Code Here

TOP

Related Classes of gnu.classpath.jdwp.util.MethodResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.