Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
We can address uses of JNF_CTOR_CACHE, JNF_CLASS_CACHE and JNF_MEMBER_CACHE, JNF_STATIC_MEMBER_CACHE and associated JNFNewObject and JNFCall* methods to directly use JNI. Elsewhere in the desktop module this kind of thing is often done in a static method called by class initialisation. To reduce the size of source code changes and make reviews easier we can define a small set of macros which achive the same benefit of the *CACHE macros - ie avoiding repeated JNI lookups.
|