localVariables empty but shouldn't

<[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.