Making operand stack copy

Shrinivas Balkrishna Joshi <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
Hi All,
  I want to know if one can use BCEL to make a copy of JVM operand stack.
Actually I want to save parameters being passed to a particular function
before the function is called. If there are less than 3 parameters I can
use DUP instruction to create copy of stack values and save the arguments.
However, this method wont help in function calls involving more than 3
parameters. So I was just wondering whether one can make a copy of whole
stack at a particular instance of program execution and manipulate it
using BCELA API.
Thanking you in anticipation
-Shrinivas Joshi ([email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.