Changes: Joseph Wenninger
Christian Thalinger
- $Id: VMSystem.c 3529 2005-11-01 21:59:33Z twisti $
+ $Id: VMSystem.c 4125 2006-01-10 20:50:53Z twisti $
*/
d = (java_arrayheader *) dest;
if (!s || !d) {
- *exceptionptr = new_nullpointerexception();
+ exceptions_throw_nullpointerexception();
return;
}
if ((len < 0) || (sp < 0) || (dp < 0) ||
(sp + len < 0) || (sp + len > s->size) ||
(dp + len < 0) || (dp + len > d->size)) {
- *exceptionptr =
- new_exception(string_java_lang_ArrayIndexOutOfBoundsException);
+ exceptions_throw_arrayindexoutofboundsexception();
return;
}