[kaffe] ArrayStoreException description messages

Mark Wielaard mark at klomp.org
Sat Nov 13 12:49:54 PST 2004


Hi,

I was hunting down a ArrayStoreException and was missing a message
telling what exactly went wrong. The following patch adds a message
wherever an ArrayStoreException is thrown in the vm or native code.

2004-11-13  Mark Wielaard  <mark at klomp.org>

        * include/errors.h
        (ArrayStoreException): Define to take a message.
        * kaffe/kaffevm/soft.c
        (soft_checkarraystore): Add message to ArrayStoreException.
        * libraries/clib/native/System.c
        (java_lang_System_arraycopy): Likewise.

Hope this is useful for others.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ArrayStore.patch
Type: text/x-patch
Size: 4431 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041113/b926dc2a/attachment-0006.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://kaffe.org/pipermail/kaffe/attachments/20041113/b926dc2a/attachment-0002.pgp 


More information about the kaffe mailing list