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: Static linking with JNI-Libs possible?


>>>>> http://gcc.gnu.org/java/papers/cni/t1.html

By the way, the entire native support in gcj/libjava is built on CNI.

All of the nat*.cc files that you find in libjava/java.lang, java.net, and
so on are native CNI counterparts.

For example, in java.lang, you will find the native method counterparts for
StringBuffer.java in natStringBuffer.cc. There is some very re-assuring
logic in how it's built up; and it is very readable. You can't misunderstand
what's going on.

You'll probably get the gist more easily by looking at these nat*.cc than by
reading the papers. Or put it differently, once you've browsed through these
sources, the papers will be very easy to read.


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