OSDN Git Service

Minor fixes to CheckJNI.
authorAndy McFadden <fadden@android.com>
Wed, 22 Jul 2009 22:20:08 +0000 (15:20 -0700)
committerAndy McFadden <fadden@android.com>
Wed, 22 Jul 2009 22:20:08 +0000 (15:20 -0700)
commit702e2486cdabe6df3ec64e752db2958537a11b35
tree29b67e71c04c70b735dd7e528f28b4becd7d2dd5
parent6fbc4eb48bf368199f31a25fae60f8f7a378cc52
Minor fixes to CheckJNI.

We weren't always switching to "running" mode before playing with
objects.  Now checkObject() always changes modes, and things that called
checkObject while in "running" mode now do so after switching back to
"native" (which shouldn't matter now, but I don't want to require nested
switching to work if I don't have to).

Vaguely related to internal bug 1943379, since I think we want to do
some updates to CheckJNI there.
vm/CheckJni.c