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


_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to