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

2006-09-21 Thread Wunderlich, Patrick
> 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. Hi Erik, If i call MethodGen#getMaxStack() before and after instrumenting the method both values are the same. If i call MethodGen#setMaxStac

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

2006-09-20 Thread Erik Corry
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.