Fix compatibility of JNI code for Java 6
commitf0304bca5c6fd5736100ff626737be449fa2ee5d
authorOlly Betts <olly@survex.com>
Thu, 27 Apr 2017 22:04:15 +0000 (28 10:04 +1200)
committerOlly Betts <olly@survex.com>
Thu, 27 Apr 2017 22:04:15 +0000 (28 10:04 +1200)
tree518e6f1fb6dcf0e669b59815f84506366812b114
parentcdf8d70add20e82a44748e2e23ea530438743bc7
Fix compatibility of JNI code for Java 6

The final parameter of SetByteArrayRegion() was not const in Java 6
and earlier.  Also seems to affect GCJ (prior to it being removed
from the GCC tree).

The incompatibility was introduced in 1.4.4.
xapian-bindings/java/java.i