jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43367] MethodGen.setMaxLocals() calculates too small max locals, which results in a ClassFormatError when loading the modified class
Date Tue, 15 Mar 2011 05:52:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43367

Dave Brosius <dbrosius@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dbrosius@apache.org

--- Comment #2 from Dave Brosius <dbrosius@apache.org> 2011-03-15 01:52:26 EDT ---
It's a bug certainly, but because local variable is added to method without
actually adding an statements in the method that use the variable, and the
setMaxLocals only looks at opcodes. It should probably also look at the
localvariable table if it exists, and use that.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message