[kaffe] Re: [Sablevm-developer] [Java-gnome-developer] Re: Java-Gnome: jni
or cni
Etienne Gagnon
gagnon.etienne_m at uqam.ca
Sun Mar 14 10:56:17 PST 2004
Per Bothner wrote:
> ...
> then a pre-processor can generate the JNI or CNI headers.
> ...
My main worry is that the programmers using these macros might not take
the good approach to JNI programming (which consists of "caching" method
and field ID's) if some macro hides method/field accesses.
Also, from a readability point of view, any Java programmer that uses JNI
regularly will not recognize JNI code [but this is not really critical ;-)].
Etienne
--
Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/
More information about the kaffe
mailing list