am de941877: am ebee8de7: Fix bugs in the x86 and arm versions of generic JNI.

* commit 'de94187722a762aab48cc1ca28e959d481116ee5':
  Fix bugs in the x86 and arm versions of generic JNI.