jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size

2001-10-04  Martin Kahlert  <martin.kahlert@infineon.com>

	* jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size

From-SVN: r46034
This commit is contained in:
Martin Kahlert 2001-10-05 14:23:06 +00:00 committed by Tom Tromey
parent 591099cd19
commit e62bad3dc9
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2001-10-04 Martin Kahlert <martin.kahlert@infineon.com>
* jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size
2001-10-04 Mark Wielaard <mark@klomp.org>
* java/lang/reflect/Modifier.java: Merge with Classpath

View file

@ -214,7 +214,7 @@ _Jv_JNI_DeleteLocalRef (JNIEnv *env, jobject obj)
for (frame = env->locals; frame != NULL; frame = frame->next)
{
for (int i = 0; i < FRAME_SIZE; ++i)
for (int i = 0; i < frame->size; ++i)
{
if (frame->vec[i] == obj)
{