Re: Re: localVariables empty but shouldn't
Johan Parent <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Hi Eugene, Thanks for your answer. I checked, no I don't use SKIP_DEBUG. I forgot to add to my post that this problem does not happen for all classes. I must have had a problem of data corruption. After a clean rebuild the problem is now gone. So it was not an ASM problem apparently. Sorry for that. Thanks again for your help. Regards, Johan ________________________________ From: Eugene Kuleshov <[email protected]> To: [email protected] Sent: Tuesday, August 30, 2011 7:24 PM Subject: [asm] Re: localVariables empty but shouldn't I presume you didn't set SKIP_DEBUG flag in ClassReader.accept() call? regards, Eugene On Tue, Aug 30, 2011 at 1:08 PM, <[email protected]> wrote: > > Hi all, > > First post so: many thanks for making ASM great lib and excellent documentation > > I'm working on a small bytecode analysis tool. I used the tree API. As the > short subject tries to convey I run into an issue with asm-3.2 where the > localVariables (of a MethodNode) content is empty while it should not be. > > I write it shouldn't because: > > 1) the ASM bytecode outline IntelliJ plugin shows there are variables > 2) the bytecode contains *LOAD instructions with indexes that exceed the > argument count > > 1) and 2) match > > Note that I write empty and not null. The doc says it can null, it is not the > case here. There are simply no elements in the List. > > I've not ventured using 3.3 because it brings more API changes than I hoped. > Does this behavuour ring a bell with anyone? If it is fixed in 3.3 I'll upgrade > right away. > > Any hints or suggestions much appreciated. > > Regards, > > Johan -- 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
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