]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-java: build against older jni headers 1854/head
authorGreg Farnum <greg@inktank.com>
Thu, 22 May 2014 04:41:23 +0000 (21:41 -0700)
committerGreg Farnum <greg@inktank.com>
Thu, 22 May 2014 04:41:26 +0000 (21:41 -0700)
commit4d4b77e5b6b923507ec4a0ad9d5c7018e4542a3c
tree43d9c9dd739876060161a9b762df9a0b72536de5
parent1383b649d7ae97c99e9840c42bef0c0db5a0f65e
cephfs-java: build against older jni headers

Older versions of the JNI interface expected non-const parameters
to their memory move functions. It's unpleasant, but won't actually
change the memory in question, to do a cast_const in order to satisfy
those older headers. (And even if it *did* modify the memory, that
would be okay given our single user.)

Signed-off-by: Greg Farnum <greg@inktank.com>
src/java/native/libcephfs_jni.cc