Relates :
|
JNF has a number of APIs that deal with JNI References : These : which add no value to the direct JNI call and can be directly replaced JNFNewGlobalRef JNFDeleteGlobalRef JNFNewWeakGlobalRef JNFDeleteWeakGlobalRef And these which just require a bit of extra handling because they create Cocoa class instances that will ensure the Java Refs are cleared when the carrier object is freed. JNFJObjectWrapper JNFWeakJObjectWrapper There seem to be simpler ways to free all the cases we have.
|