natVMProxy.cc (run_proxy): Use _Jv_LookupProxyMethod to find the Method.
2007-04-02 Andrew Haley <aph@redhat.com> * java/lang/reflect/natVMProxy.cc (run_proxy): Use _Jv_LookupProxyMethod to find the Method. If parameter_types->length == 0, pass a null paramameter list, not a zero-length parameter list. * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function. * java/lang/Class.h (_Jv_LookupProxyMethod): Declare. From-SVN: r123431
This commit is contained in:
committed by
Andrew Haley
parent
e6c45b1e34
commit
a0036853d2
@@ -13,6 +13,7 @@
|
||||
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
|
||||
{
|
||||
@@ -79,6 +80,7 @@ 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__
|
||||
|
||||
Reference in New Issue
Block a user