diff options
author | Jeff Hao <jeffhao@google.com> | 2015-05-27 19:29:29 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2015-05-27 19:44:22 -0700 |
commit | 1a302fb4f84525289c1cf7a437f5be1999a75251 (patch) | |
tree | e69db1a280980ed969d0f993f6e05ba70c1d4bd5 /runtime/reflection.h | |
parent | e0cc299fd258b6ce6f19a201ca9fce09910f6e42 (diff) | |
download | art-1a302fb4f84525289c1cf7a437f5be1999a75251.zip art-1a302fb4f84525289c1cf7a437f5be1999a75251.tar.gz art-1a302fb4f84525289c1cf7a437f5be1999a75251.tar.bz2 |
Fix updating of JNI references for String.<init>.
Was missing updates to globals and weak globals.
Bug: 21288130
Bug: 21440428
Change-Id: I5f801f68b61f6b066b441b92ace367e6ba434789
Diffstat (limited to 'runtime/reflection.h')
-rw-r--r-- | runtime/reflection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/reflection.h b/runtime/reflection.h index 6b5ffc7..df3b9d3 100644 --- a/runtime/reflection.h +++ b/runtime/reflection.h @@ -85,6 +85,9 @@ mirror::Class* GetCallingClass(Thread* self, size_t num_frames) void InvalidReceiverError(mirror::Object* o, mirror::Class* c) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); +void UpdateReference(Thread* self, jobject obj, mirror::Object* result) + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + } // namespace art #endif // ART_RUNTIME_REFLECTION_H_ |