Commit f9d6deca by Andrew Haley Committed by Andrew Haley

natVMProxy.cc (ncode_closure): Add method_index.

2007-04-18  Andrew Haley  <aph@redhat.com>

        * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
        method_index.
        (generateProxyClass): Add field $Proxy0.m.  Store methods array in
        it.
        (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
        * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
        * java/lang/natClass.cc: Likewise.
        * headers.txt: Likewise.
        * java/lang/reflect/Method.h: Likewise.

From-SVN: r123954
parent 0df38d45
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
* java/lang/Class.h: Remove _Jv_LookupProxyMethod. * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
* java/lang/natClass.cc: Likewise. * java/lang/natClass.cc: Likewise.
* headers.txt: Likewise. * headers.txt: Likewise.
* java/lang/reflect/Method.h: Likewise.
2007-04-16 Andrew Haley <aph@redhat.com> 2007-04-16 Andrew Haley <aph@redhat.com>
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *); jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);
jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean); jobject _Jv_JNI_ToReflectedMethod (_Jv_JNIEnv *, jclass, jmethodID, jboolean);
::java::lang::reflect::Method *_Jv_GetReflectedMethod (jclass, _Jv_Utf8Const*, _Jv_Utf8Const*); ::java::lang::reflect::Method *_Jv_GetReflectedMethod (jclass, _Jv_Utf8Const*, _Jv_Utf8Const*);
::java::lang::reflect::Method *_Jv_LookupProxyMethod (jclass, _Jv_Utf8Const *, _Jv_Utf8Const *);
class java::lang::reflect::Method : public ::java::lang::reflect::AccessibleObject class java::lang::reflect::Method : public ::java::lang::reflect::AccessibleObject
{ {
...@@ -80,7 +79,6 @@ public: ...@@ -80,7 +79,6 @@ public:
friend class java::lang::Class; friend class java::lang::Class;
friend class java::io::ObjectInputStream; friend class java::io::ObjectInputStream;
friend java::lang::reflect::Method* ::_Jv_GetReflectedMethod (jclass, _Jv_Utf8Const*, _Jv_Utf8Const*); friend java::lang::reflect::Method* ::_Jv_GetReflectedMethod (jclass, _Jv_Utf8Const*, _Jv_Utf8Const*);
friend java::lang::reflect::Method* ::_Jv_LookupProxyMethod (jclass, _Jv_Utf8Const *, _Jv_Utf8Const *);
}; };
#endif // __java_lang_reflect_Method__ #endif // __java_lang_reflect_Method__
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment