Fix ObjectReference.InvokeMethod.

This probably broke when I rewrote the object registry, but because
the test was so crap, we may have gotten away with passing bad pointers.
(Though for me, CheckJNI was catching this.)

While I'm here, fix the argument checking, which was previously
very weak; we'd accept any reference type rather than instances of
the parameter's specific type.

Change-Id: I08c001cabde02a0509fe28df17523a2d2519d1ca
3 files changed
tree: b098097d5e8477a200d158f92c1153f12c6f6d55
  1. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/