This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Static linking with JNI-Libs possible?
- From: "Erik Poupaert" <erik dot poupaert at chello dot be>
- To: <java at gcc dot gnu dot org>,"Clemens Eisserer" <linuxhippy at web dot de>,<gnustuff at thisiscool dot com>
- Date: Wed, 16 Apr 2003 00:54:01 +0200
- Subject: 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.