2 Replies Latest reply on Aug 19, 2008 8:03 PM by 843810

    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