Re: java.lang.VerifyError: Stack size too large

Erik Corry <[email protected]> Wed, 20 Sep 2006 18:21:46 +0200
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
On Wed, Sep 20, 2006 at 03:54:40PM +0200, Wunderlich, Patrick wrote:
> 
> Hey,
> 
> when i use InstructionFactory#createInvoke with more then 3 parameters,
> i get a  "Stack size too large" VerifyError when i excute the modified
> class.
> 
> If i only use up to 3 parameters everything works fine.
> 
> Any hints?!

The method has a max stack size parameter somewhere.  I forget the name.
It doesn't verify if the max size is exceeded.  You can update the size.

-- 
Erik Corry       In this way the infinite-dimensional invariance group erodes
[email protected]   the distinction between observer and observed; the pi of Euclid
                 and the G of Newton, formerly thought to be constant and
                 universal, are now perceived in their ineluctable historicity;