Re: ASM 4.0 RC2: Revisiting the NOP ATHROW bug
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <CAOrbxLS+C33S=at9yt131Znh1hFbxxiii43zO=s37CvsoVJrrw@mail.gmail.com> |
On Mon, Oct 24, 2011 at 1:30 PM, Eric Bruneton <[email protected]> wrote: > ok, thanks. This time I have all the information I need :-) The problem has > nothing to do with deadcode and NOP ATHROW. I think you were confused > because you often have generated deadcode. The problem comes from the fact > that you don't call visitTryCatchBlock *before* you visit the labels passed > as arguments, as described in the Javadoc of visitTryCatchBlock. This is > required for COMPUTE_FRAMES to work properly. You could have found this with > a CheckClassAdapter in your generation chain (which also detects that you > don't call visitCode, as required). See attached code. > Wow. Thanks a lot! I think I can make the required changes. I will report back the success back on this list. Again, thanks for all your help and patience. -- Shashank Bharadwaj
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