Jacob Kjome wrote:
I am quite lost trying to figure out how to write BCel code to match the disassembled code. Can you help out? Here's javap's output for the static block in question...

I am happy to help, but i'm not happy to do your work for you when it appears you haven't really put much effort into doing it yourself. A good place to start learning how to write bcel code is here:

http://jakarta.apache.org/bcel/manual.html

you may be particularly interested in 3.3.4, which talks about instruction lists. (almost) all you have to do is write code that creates an instruction list and adds to it one instruction per instruction in the disassembly of the asm2 code. you can learn about instructions, their arguments, and how to generate them by reading the bcel manual referenced above.

i'll be happy to take a look at any more specific questions you may have.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to