classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] DeleteLocalRef() in jcl.c


From: Archie Cobbs
Subject: Re: [cp-patches] DeleteLocalRef() in jcl.c
Date: Sun, 11 Sep 2005 13:47:58 -0500
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

David Lichteblau wrote:
jcl.c currently tries to turn a local reference into a global one after
having deleted the local reference.
      (*env)->DeleteLocalRef(env, rawDataClass);
      rawDataClass = (*env)->NewGlobalRef (env, rawDataClass);
Is my interpretation right that this is not allowed by the JNI spec?

Yes.. patch looks OK to me too.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]