[kaffe] Bug Report: jni & two dimensional array parameter
Daniel Dittmann
ddittmann at gmx.de
Tue Sep 23 23:53:03 PDT 2003
Hi all,
i want to call an jni-function with an two-dimensional integer-array
parameter.
The complete example from:
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jnistring.html#multi
public class ArrayManipulation {
***snip***
public native void manipulateArray(
int[][] multiplier, Boolean lock);
***snip***
}
The generation of the c-headerfile failed.
>/usr/local/kaffe/bin/javac ArrayManipulation.java
>export CLASSPATH=./:/usr/local/kaffe/jre/lib/rt.jar
>/usr/local/kaffe/bin/javah ArrayManipulation
bogus array type `['
The attached patch fixed this error.
Thank you
Daniel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kaffe_jni_sign.diff
Url: http://kaffe.org/pipermail/kaffe/attachments/20030923/a5c4b323/attachment-0002.txt
More information about the kaffe
mailing list