This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Sablevm-developer] [Java-gnome-developer] Re: Java-Gnome: jnior cni


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]