mirror of git://gcc.gnu.org/git/gcc.git
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:
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>
|
2001-10-04 Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
* java/lang/reflect/Modifier.java: Merge with Classpath
|
* 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 (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)
|
if (frame->vec[i] == obj)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue