|
When I was a Sun engineer writing Java for Trusted Solaris administration I had to use JNI all the time. Writing C JNI code is like serving two masters, the JVM and Solaris. Making sure object references and malloc'd memory had all the T's crossed and I's dotted was the hardest and most interesting part of using JNI.
Graham |