Create JNIEnv*s on the right threads.

This exposes a bug in jni_compiler.cc --- it passes the right JNIEnv* to the
native method and to MonitorExit, but it passes a bogus value to MonitorEnter.

Change-Id: Icbf505d24294d14ce3e40180a20254789cb69904
4 files changed
tree: 9f2d095d9f2da8f82984f58d9b3491bbe438e315
  1. Android.mk
  2. build/
  3. src/
  4. tools/