Despite the "correct" JNI typing, the following error occurs:
#error Warning: bad return type. :private final native byte[] blah.get_some_bytes(org.fusesource.hawtjni.runtime.JNIEnv,long)
After going through every reference I could find, and reading the 'clazz' implementation in hawtjni, I believe this is currently broken and not a manifestation of a problem in the source code above.
Suppose a wrapper like so:
And on the wrapper side:
Despite the "correct" JNI typing, the following error occurs:
After going through every reference I could find, and reading the 'clazz' implementation in hawtjni, I believe this is currently broken and not a manifestation of a problem in the source code above.