2 Replies Latest reply: Aug 19, 2008 3:03 PM by 843810 RSS

    Manipulate Stack to return value to caller method


      is there a way to manipulate the VM in a way that the calling method gets a return-value generated/determine by a JVMTI agent.

      I can catch MethodCalls via MethodEntry(jvmtiEnv* ......);
      And i can pop the topmost Stackframe via PopFrame(jvmtiEnv* ........)

      But how i manipulate the stack to define a return value.

      Kind regrads