Problem with asserts
<[email protected]> Sun, 28 May 2006 14:59:40 +0200 (CEST)
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
I have a problem using bcel with the asserts: when I use an assert, it adds some instructions into the <clinit> method. The first of this instructions is an ldc_w, that take only one operand, and not two operand as in the standard definition. So, when I change the <clinit> method in another point, when I write it whit bcel this instruction is changed to take two operand: obbiusly, the following instructions are wrong, because they take the wrong byte. There is one way to solve this problem or not? Thanks Erik Bengtson <[email protected]> ha scritto: I dont know of any books, but the BCEL API maps very nicelly to JVM instructions, so after undertanding how JVM instructions works I was able to use BCEL. The first link is very handy: http://mrl.nyu.edu/~meyer/jvmref/ http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html Quoting Torsten Curdt : > > Kindly suggest if there are any Books available in market on BCEL > framework. > > I wouldn't know of any books ...did you have a look into the > documentation on the website? > > cheers > -- > Torsten > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com