Re: localVariables empty but shouldn't
Eugene Kuleshov <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <CADFjdoUDkpazNcWMoQE6A1OO7TXaGX=SeeD+MG7Mb4iwMGhy4Q@mail.gmail.com> |
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
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