diff options
author | Tom Tromey <tromey@redhat.com> | 2002-07-05 20:40:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-07-05 20:40:11 +0000 |
commit | 0d49ec1158291fa15be03b8a7b89c320212c6e94 (patch) | |
tree | d6831eedd78519f01123093a5f9a1b1695f7a3ea /libjava/java/lang/Class.h | |
parent | 9833f6792a3fc80658167415883160d47ddd68b4 (diff) | |
download | gcc-0d49ec1158291fa15be03b8a7b89c320212c6e94.zip gcc-0d49ec1158291fa15be03b8a7b89c320212c6e94.tar.gz gcc-0d49ec1158291fa15be03b8a7b89c320212c6e94.tar.bz2 |
re PR libgcj/7060 (getMethod() doesn't search super interface)
2002-07-04 Tom Tromey <tromey@redhat.com>
Jeff Sturm <jsturm@one-point.com>
Fix for PR libgcj/7060:
* java/lang/Class.h (_getMethod): Renamed from getMethod.
* java/lang/natClass.cc (_getMethod): Renamed from getMethod.
Recurse into superinterfaces. Don't throw NoSuchMethodException.
* java/lang/Class.java (getMethod): New Java implementation;
complies with spec.
(_getMethod): New native method.
Co-Authored-By: Jeff Sturm <jsturm@one-point.com>
From-SVN: r55266
Diffstat (limited to 'libjava/java/lang/Class.h')
-rw-r--r-- | libjava/java/lang/Class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h index eb33c93..9eb1a5c 100644 --- a/libjava/java/lang/Class.h +++ b/libjava/java/lang/Class.h @@ -166,7 +166,7 @@ public: void getSignature (java::lang::StringBuffer *buffer); static jstring getSignature (JArray<jclass> *, jboolean is_constructor); - java::lang::reflect::Method *getMethod (jstring, JArray<jclass> *); + java::lang::reflect::Method *_getMethod (jstring, JArray<jclass> *); JArray<java::lang::reflect::Method *> *getMethods (void); inline jint getModifiers (void) |