Problem adding cloned instructions
Peter Veentjer <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
I'm encountering a problem (npe) while writing a class using the classwriter with compute_frames option. What i'm doing is rewriting a method by inserting cloned instructions where labels and labelnodes are also completely cloned (so no sharing). The big problem is that classwriter executed the visitmaxs and this relies on the frame of the cloned label and this frame is null, so causing an npe So appearently i'm doing something wrong. Are there any special rules how to clone a label / labelnode?
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws