diff options
author | 2013-01-24 12:42:14 -0800 | |
---|---|---|
committer | 2013-01-30 16:48:31 -0800 | |
commit | 2dd0e2cea360bc9206eb88ecc40d259e796c239d (patch) | |
tree | 9d619dc9508cbe73e4793bf6f08cbc761abfb48a /src/native/java_lang_Object.cc | |
parent | ac21b797b3a425975d656d6b84a7b24401d35f42 (diff) |
Directory restructuring of object.h
Break object.h into constituent files.
Reduce number of #includes in other GC header files.
Introduce -inl.h files to avoid mirror files #include-ing each other.
Check invariants of verifier RegTypes for all constructors.
Change-Id: Iecf1171c02910ac152d52947330ef456df4043bc
Diffstat (limited to 'src/native/java_lang_Object.cc')
-rw-r--r-- | src/native/java_lang_Object.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/native/java_lang_Object.cc b/src/native/java_lang_Object.cc index f3c295e6dc..75d5f70bef 100644 --- a/src/native/java_lang_Object.cc +++ b/src/native/java_lang_Object.cc @@ -15,7 +15,7 @@ */ #include "jni_internal.h" -#include "object.h" +#include "mirror/object.h" #include "scoped_thread_state_change.h" // TODO: better support for overloading. @@ -27,31 +27,31 @@ namespace art { static jobject Object_internalClone(JNIEnv* env, jobject java_this) { ScopedObjectAccess soa(env); - Object* o = soa.Decode<Object*>(java_this); + mirror::Object* o = soa.Decode<mirror::Object*>(java_this); return soa.AddLocalReference<jobject>(o->Clone(soa.Self())); } static void Object_notify(JNIEnv* env, jobject java_this) { ScopedObjectAccess soa(env); - Object* o = soa.Decode<Object*>(java_this); + mirror::Object* o = soa.Decode<mirror::Object*>(java_this); o->Notify(); } static void Object_notifyAll(JNIEnv* env, jobject java_this) { ScopedObjectAccess soa(env); - Object* o = soa.Decode<Object*>(java_this); + mirror::Object* o = soa.Decode<mirror::Object*>(java_this); o->NotifyAll(); } static void Object_wait(JNIEnv* env, jobject java_this) { ScopedObjectAccess soa(env); - Object* o = soa.Decode<Object*>(java_this); + mirror::Object* o = soa.Decode<mirror::Object*>(java_this); o->Wait(); } static void Object_waitJI(JNIEnv* env, jobject java_this, jlong ms, jint ns) { ScopedObjectAccess soa(env); - Object* o = soa.Decode<Object*>(java_this); + mirror::Object* o = soa.Decode<mirror::Object*>(java_this); o->Wait(ms, ns); } |