DO NOT REPLY [Bug 43367] - MethodGen.setMaxLocals() calculates too small max locals, which results in a ClassFormatError when loading the modified class

[email protected] Thu, 13 Sep 2007 03:38:59 -0700 (PDT)
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43367>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43367





------- Additional Comments From [email protected]  2007-09-13 03:38 -------
Created an attachment (id=20810)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20810&action=view)
Example how to reproduce the issue.

Start the Reproducer with java -cp bcel.jar:. Reproducer - the example
instrument the constructor of it's own class, adds a field, and tries to load
the modified class.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.