Re: NegativeArraySizeException

Rémi Forax <[email protected]> Thu, 15 Dec 2011 14:28:15 +0100
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 12/15/2011 12:11 AM, Jochen Theodorou wrote:
> Hi,
>
> I get a NegativeArraySizeException in
>
> at org.objectweb.asm.Frame.a(Unknown Source)
> at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
>
> has anyone an idea what the reason for this could be? I should mention 
> that I overwrite getCommonSuperClass so it might be related to that, 
> but how if that is the case?
>
> bye blackdrag
>

Hi Jochen,
the best way :) to have a NegativeArraySizeException is to try to 
generate a bytecode
that will pop a value from an empty stack, by example, if you try to do 
a store or a method call
with nothing on the stack.

Rémi
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