Changes: Joseph Wenninger
- $Id: VMClass.c 833 2004-01-04 22:10:24Z jowenn $
+ $Id: VMClass.c 862 2004-01-06 23:42:01Z stefan $
*/
/* there is already an exception (NoClassDefFoundError), but forName()
returns a ClassNotFoundException */
- exceptionptr =
+ *exceptionptr =
native_new_and_init_string(class_java_lang_ClassNotFoundException, s);
return NULL;
/* get fieldinfo entry */
idx = class_findfield_index_approx((classinfo*) (this->vmData), javastring_toutf(name, false));
if (idx<0) {
- exceptionptr = native_new_and_init(class_java_lang_NoSuchFieldException);
+ *exceptionptr = native_new_and_init(class_java_lang_NoSuchFieldException);
return NULL;
}
f= &(((struct classinfo*)(this->vmData))->fields[idx]);
if ( public_only && !(f->flags & ACC_PUBLIC))
{
/* field is not public and public only had been requested*/
- exceptionptr = native_new_and_init(class_java_lang_NoSuchFieldException);
+ *exceptionptr = native_new_and_init(class_java_lang_NoSuchFieldException);
return NULL;
}
if (!m || (which==MEMBER_PUBLIC && !(m->flags & ACC_PUBLIC)))
{
/* no apropriate method was found */
- exceptionptr = native_new_and_init (class_java_lang_NoSuchMethodException);
+ *exceptionptr = native_new_and_init (class_java_lang_NoSuchMethodException);
return NULL;
}