Class.h (_Jv_FindInterpreterMethod): Change return type to _Jv_MethodBase instead of _Jv_InterpMethod.

* java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
        to _Jv_MethodBase instead of _Jv_InterpMethod.
        * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
        Do not check access flags.
        Fix some minor style anomalies.

From-SVN: r116730
This commit is contained in:
Keith Seitz 2006-09-06 22:16:59 +00:00 committed by Keith Seitz
parent 1b65e50144
commit 3056423a31
3 changed files with 19 additions and 15 deletions

View file

@ -234,7 +234,8 @@ jmethodID JvGetFirstMethod (jclass);
#ifdef INTERPRETER
// Finds a desired interpreter method in the given class or NULL if not found
_Jv_InterpMethod* _Jv_FindInterpreterMethod (jclass, jmethodID);
class _Jv_MethodBase;
_Jv_MethodBase *_Jv_FindInterpreterMethod (jclass, jmethodID);
#endif
// Friend classes and functions to implement the ClassLoader
@ -474,8 +475,8 @@ private:
friend jint (::JvNumMethods) (jclass);
friend jmethodID (::JvGetFirstMethod) (jclass);
#ifdef INTERPRETER
friend _Jv_InterpMethod* (::_Jv_FindInterpreterMethod) (jclass klass,
jmethodID desired_method);
friend _Jv_MethodBase *(::_Jv_FindInterpreterMethod) (jclass klass,
jmethodID desired_method);
#endif
// Friends classes and functions to implement the ClassLoader