jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly.

2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>

	* jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
	correctly.

From-SVN: r49737
This commit is contained in:
Martin Kahlert 2002-02-13 17:34:52 +00:00 committed by Tom Tromey
parent bb26522d7b
commit c66b9fd97e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
* jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
correctly.
2002-02-13 Todd Stock <toddastock@yahoo.com>
Fix for PR libgcj/5671:

View File

@ -2134,8 +2134,7 @@ _Jv_JNI_AttachCurrentThread (JavaVM *, jstring name, void **penv, void *args)
env->locals->marker = MARK_SYSTEM;
env->locals->size = FRAME_SIZE;
env->locals->next = env->locals;
env->locals = NULL;
env->locals->next = NULL;
for (int i = 0; i < env->locals->size; ++i)
env->locals->vec[i] = NULL;