[kaffe] java.lang.ArrayIndexOutOfBoundsException thrown by Stack.push()

Dalibor Topic robilad at yahoo.com
Wed Apr 2 15:38:02 PST 2003


hi Mark,

--- Mark J Roberts <mjr at znex.org> wrote:
> Stack.push() should not be throwing this exception.
> Looks like an
> obvious bug. Any ideas?
> 
> java.lang.ArrayIndexOutOfBoundsException
>         at
>
java.lang.Throwable.fillInStackTrace(Throwable.java:native)
>         at
> java.lang.Throwable.<init>(Throwable.java:37)
>         at
> java.lang.Exception.<init>(Exception.java:20)
>         at
>
java.lang.RuntimeException.<init>(RuntimeException.java:17)
>         at
>
java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:17)
>         at
>
java.lang.ArrayIndexOutOfBoundsException.<init>(ArrayIndexOutOfBoundsException.java:17)
>         at
> java.util.Vector.insertElementAt(Vector.java:249)
>         at
> java.util.Vector.addElement(Vector.java:46)
>         at java.util.Stack.push(Stack.java:40)
>         at
>
freenet.thread.FastThreadFactory$FThread.run(FastThreadFactory.java:105)

thanks for the bug report, I've checked in a patch
that should fix it.

cheers,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com




More information about the kaffe mailing list