Re: Strange Issue With Static Global Variable in Native

2013-12-08 Thread Dan Xu
On 12/08/2013 01:34 AM, Chris Hegarty wrote: On 07/12/2013 18:12, Dan Xu wrote: ... Just so I understand, did you use a JNI global when caching the reference? -Alan Hi Alan, What is a JNI global? http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/design.html#wp1242 > Wha

Re: Strange Issue With Static Global Variable in Native

2013-12-08 Thread Chris Hegarty
On 07/12/2013 18:12, Dan Xu wrote: ... Just so I understand, did you use a JNI global when caching the reference? -Alan Hi Alan, What is a JNI global? http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/design.html#wp1242 > What I use here is a static global variable. I have u