Re: Weird VerifyError

Nikolas Nehmer <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Organization FB Informatik, TU Kaiserslautern, GERMANY
Message-ID <26740272.1284899288988.OPEN-XCHANGE.WebMail.tomcat@groupmail.informatik.uni-kl.de>
Hi Eric,

thanks for your reply. The bytecode seems to be correct, that's exactly
my "problem". What do you think, could this be an error in the verifier?
For me it seems so. As I tried to point out - in Java 6_10 the case
where the code is split up to 2 classes didn't run as well. With Java
6_21 it works. So currently, the only failing case is, where everything
is mashed up in the main class - the static case and the nonstatic case
but split up into two classes works! Consequently the verifier seems to
distinguish these cases somehow. Maybe I should report a bug to the Java
community?!

Cheers
Nikolas

Am So 19.09.2010 09:12 schrieb Eric Bruneton <[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.