Re: Weird VerifyError

Eric Bruneton <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Nikolas Nehmer wrote:
> my error, or again a problem in the verifier. Btw. if I change the inner
> class to be static, the example works again. What do you guys think?

I think the problem is precisely linked to the declaration of the inner 
class, as static or not static (and has nothing to do with the fact of 
using or not a separate class for the main method). In the non static 
case the bytecode is different because the inner class constructor takes 
an implicit argument to the outer class.

However, I don't see what is the problem, because the bytecode you sent 
seems correct.

Eric
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.