gcc/libjava/java/lang
Tom Tromey 0d49ec1158 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
2002-07-05 20:40:11 +00:00
..
ref
reflect natPlainDatagramSocketImpl.cc (BooleanClass): Removed. 2002-06-25 05:29:22 +00:00
AbstractMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArithmeticException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayStoreException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
AssertionError.java Class.h (Class::desiredAssertionStatus): Declare. 2002-06-11 17:33:22 +00:00
Boolean.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Byte.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Character.java
CharSequence.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Class.h re PR libgcj/7060 (getMethod() doesn't search super interface) 2002-07-05 20:40:11 +00:00
Class.java re PR libgcj/7060 (getMethod() doesn't search super interface) 2002-07-05 20:40:11 +00:00
ClassCastException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassCircularityError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassFormatError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassLoader.java Class.h (Class::desiredAssertionStatus): Declare. 2002-06-11 17:33:22 +00:00
ClassNotFoundException.java ClassNotFoundException.java: New Classpath version. 2002-06-17 19:15:22 +00:00
Cloneable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
CloneNotSupportedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Comparable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Compiler.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Double.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
dtoa.c
e_acos.c
e_asin.c
e_atan2.c
e_exp.c
e_fmod.c
e_log.c
e_pow.c
e_rem_pio2.c
e_remainder.c
e_scalb.c
e_sqrt.c
EcosProcess.java
Error.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Exception.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
ExceptionInInitializerError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
fdlibm.h
Float.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
ieeefp.h
IllegalAccessError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalAccessException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalArgumentException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalMonitorStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalThreadStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IncompatibleClassChangeError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InheritableThreadLocal.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Integer.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
InternalError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InterruptedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Long.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Math.java
mprec.c
mprec.h
natCharacter.cc
natClass.cc re PR libgcj/7060 (getMethod() doesn't search super interface) 2002-07-05 20:40:11 +00:00
natClassLoader.cc natPlainDatagramSocketImpl.cc (BooleanClass): Removed. 2002-06-25 05:29:22 +00:00
natDouble.cc
natEcosProcess.cc
natFloat.cc
natMath.cc
natObject.cc
natPosixProcess.cc
natRuntime.cc natRuntime.cc: Don't include sys/time.h and time.h. 2002-05-14 05:29:30 +00:00
natString.cc natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
natStringBuffer.cc
natSystem.cc re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException) 2002-05-13 20:10:37 +00:00
natThread.cc
natThrowable.cc natThrowable.cc (fillInStackTrace): Use "stackTraceBytes", not "stackTrace". 2002-05-24 23:31:23 +01:00
natWin32Process.cc
NegativeArraySizeException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoClassDefFoundError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NullPointerException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Number.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
NumberFormatException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Object.h
Object.java
OutOfMemoryError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Package.java
PosixProcess.java
Process.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runnable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runtime.java re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException) 2002-05-13 20:10:37 +00:00
RuntimeException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
RuntimePermission.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
s_atan.c
s_ceil.c
s_copysign.c
s_cos.c
s_fabs.c
s_floor.c
s_rint.c
s_scalbn.c
s_sin.c
s_tan.c
SecurityException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SecurityManager.java
sf_fabs.c
sf_rint.c
Short.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackOverflowError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackTraceElement.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
StrictMath.java
String.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
StringBuffer.java
StringIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
strtod.c
System.java re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException) 2002-05-13 20:10:37 +00:00
Thread.java javaprims.h: Updated class declaration list. 2002-06-18 15:40:16 +00:00
ThreadDeath.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ThreadGroup.java javaprims.h: Updated class declaration list. 2002-06-18 15:40:16 +00:00
ThreadLocal.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Throwable.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
UnknownError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsatisfiedLinkError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedClassVersionError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedOperationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VerifyError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VirtualMachineError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VMClassLoader.java Class.h (Class::desiredAssertionStatus): Declare. 2002-06-11 17:33:22 +00:00
VMSecurityManager.java
Void.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
w_acos.c
w_asin.c
w_atan2.c
w_exp.c
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c
Win32Process.java