aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/Class.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2006-09-06 22:16:59 +0000
committerKeith Seitz <kseitz@gcc.gnu.org>2006-09-06 22:16:59 +0000
commit3056423a31d1794bfa65dddecc9f07f3a44beb73 (patch)
tree48e1f84c5ed7b481b33fe4c2ee02c993dec80dd0 /libjava/java/lang/Class.h
parent1b65e501440045f6f7c84e3eca36da0ee9899e33 (diff)
downloadgcc-3056423a31d1794bfa65dddecc9f07f3a44beb73.zip
gcc-3056423a31d1794bfa65dddecc9f07f3a44beb73.tar.gz
gcc-3056423a31d1794bfa65dddecc9f07f3a44beb73.tar.bz2
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
Diffstat (limited to 'libjava/java/lang/Class.h')
-rw-r--r--libjava/java/lang/Class.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h
index 7da182c..1638f94 100644
--- a/libjava/java/lang/Class.h
+++ b/libjava/java/lang/Class.h
@@ -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