re PR libgcj/7060 (getMethod() doesn't search super interface)
authorTom Tromey <tromey@redhat.com>
Fri, 5 Jul 2002 20:40:11 +0000 (20:40 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 5 Jul 2002 20:40:11 +0000 (20:40 +0000)
commit0d49ec1158291fa15be03b8a7b89c320212c6e94
treed6831eedd78519f01123093a5f9a1b1695f7a3ea
parent9833f6792a3fc80658167415883160d47ddd68b4
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
libjava/ChangeLog
libjava/java/lang/Class.h
libjava/java/lang/Class.java
libjava/java/lang/natClass.cc