+2002-11-10 Tom Tromey <tromey@redhat.com>
+
+ * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
+
2002-11-09 Tom Tromey <tromey@redhat.com>
* java/applet/Applet.java, java/applet/AppletContext.java,
{
env = (JNIEnv *) _Jv_MallocUnchecked (sizeof (JNIEnv));
env->p = &_Jv_JNIFunctions;
- env->ex = NULL;
env->klass = klass;
env->locals = NULL;
+ // We set env->ex below.
_Jv_SetCurrentJNIEnv (env);
}
frame->marker = MARK_SYSTEM;
frame->size = FRAME_SIZE;
frame->next = env->locals;
- env->locals = frame;
for (int i = 0; i < frame->size; ++i)
frame->vec[i] = NULL;
+ env->locals = frame;
+ env->ex = NULL;
+
return env;
}