natVMProxy.cc (ncode_closure): Add method_index.
authorAndrew Haley <aph@redhat.com>
Wed, 18 Apr 2007 17:13:20 +0000 (17:13 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 18 Apr 2007 17:13:20 +0000 (17:13 +0000)
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

libjava/ChangeLog
libjava/java/lang/reflect/Method.h

index 9a874aea297c57bc3e434f56691f4b1b48decfb2..eeb1ab4ca224bd853d5acd40d9d1557dca36c070 100644 (file)
@@ -8,6 +8,7 @@
        * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
        * java/lang/natClass.cc: Likewise.
        * headers.txt: Likewise.
+       * java/lang/reflect/Method.h: Likewise.
 
 2007-04-16  Andrew Haley  <aph@redhat.com>
 
index 17056c119e9346e3b28376c687d5c72086d9f1b6..8a843d5d154b1b7b0c0514c664a1637a5e019340 100644 (file)
@@ -13,7 +13,6 @@
 jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);
 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_LookupProxyMethod (jclass, _Jv_Utf8Const *, _Jv_Utf8Const *);
 
 class java::lang::reflect::Method : public ::java::lang::reflect::AccessibleObject
 {
@@ -80,7 +79,6 @@ public:
   friend class java::lang::Class;
   friend class java::io::ObjectInputStream;
   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__