classpath-patches
[Top][All Lists]
Advanced

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

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


From: David Lichteblau
Subject: [cp-patches] DeleteLocalRef() in jcl.c
Date: Sun, 11 Sep 2005 20:27:14 +0200
User-agent: Mutt/1.5.8i

Hi,

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?
(The attached patch works for me.)


d.

Attachment: jcl.diff
Description: Text document


reply via email to

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