diff options
author | 2011-10-14 03:29:56 -0700 | |
---|---|---|
committer | 2011-10-14 21:45:27 -0700 | |
commit | 466bb25416b88fabd5d4387b7c7e5cc1ece78b8c (patch) | |
tree | 8d0952cbd850f1d0ac2e43a8372ce571fb4982d1 /src/class_linker.h | |
parent | a10cd94bb77ed66fa0a8b66141c4504045c92d30 (diff) |
Proxy implementation
This rounds out the proxy implementation by adding missing pieces to the
class linker, extending tests and fixing issues in the runtime support.
There are also some tweaks for performance and to clean up Method/Object
a little.
A unit test of the functionality is "art/test/run-test 044"
Change-Id: Id94102d10b81cd9b12b95ba8618f6187490204c4
Diffstat (limited to 'src/class_linker.h')
-rw-r--r-- | src/class_linker.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/class_linker.h b/src/class_linker.h index 37802ae67f..91d6259bc7 100644 --- a/src/class_linker.h +++ b/src/class_linker.h @@ -227,7 +227,7 @@ class ClassLinker { void VerifyClass(Class* klass); Class* CreateProxyClass(String* name, ObjectArray<Class>* interfaces, ClassLoader* loader, - ObjectArray<Method>* methods, ObjectArray<Object>* throws); + ObjectArray<Method>* methods, ObjectArray<ObjectArray<Class> >* throws); private: ClassLinker(InternTable*); @@ -347,7 +347,7 @@ class ClassLinker { } Method* CreateProxyConstructor(Class* klass); - Method* CreateProxyMethod(Class* klass, Method* prototype, Object* throws); + Method* CreateProxyMethod(Class* klass, Method* prototype, ObjectArray<Class>* throws); // lock to protect ClassLinker state mutable Mutex lock_; @@ -377,6 +377,7 @@ class ClassLinker { kJavaLangReflectConstructor, kJavaLangReflectField, kJavaLangReflectMethod, + kJavaLangReflectProxy, kJavaLangClassLoader, kDalvikSystemBaseDexClassLoader, kDalvikSystemPathClassLoader, |