Re: Weird VerifyError
Nikolas Nehmer <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Uups, back to work I just double checked it. You are right! It has nothing to do with the fact of using or not a separate class for the main method! Nevertheless the error message does not make sense to me as the stack seems to be ok. cheers Nikolas Eric Bruneton schrieb: > 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 -- Dipl.-Inf. Nikolas Nehmer, Dept. of Computer Science. University of Kaiserslautern P.O. Box 3049, 67653 Kaiserslautern, Germany. room 36/308, phone: +49 (0) 631 - 205 2644, fax: +49 (0) 631 - 205 3299 mail: [email protected]
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