JVM Languages
gcj_cni.txt
Associated article: GCJ & the Cygnus Native Interface
Tags: JVM Languages
Published source code accompanying the article by Gene Sally in which he examines the GNU Compiler for the Java Programming Language, a GCC front-end for Java, and the Cygnus Native Interface.
GCJ & the Cygnus Native Interface
by Gene Sally
Example 1:
(a)
public class CSimpleJNI {
private int nValue;
public int getValue() {
return nValue;
}
public void putValue(int newValue) {
nValue = newValue;
}
public int transformValue(int someValue) {
putValue(getValue() + someValue);
return getValue();
}
public ...


