mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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:
committed by
Tom Tromey
parent
591099cd19
commit
e62bad3dc9
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user