Implement various JNI internals. Fix off by 1 bug.

Make GetMethodID and GetStaticMethodID throw NoSuchMethodError. Add
simple unit tests. Implement RegisterNatives.
Fix bug that CreateArgArray doesn't pass the last argument correctly.

Change-Id: I5b87ffdbb72a7ef75147a002560b8c47e7af35f4
2 files changed
tree: cb83b727cc997991ba597bf6ff9627d6da93e2ad
  1. Android.mk
  2. build/
  3. src/
  4. tools/