gcc/libjava/java/lang
Martin Kahlert c90efa7a1c natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds.
2001-06-05  Martin Kahlert  <martin.kahlert@infineon.com>
	    Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors
	table index is within allowed bounds. Ensure that we dont try to access
	class itable at a negative offset. Avoid an ancestor table lookup if
	source is a primitive type class.
	(isInstance): Remove redundant isPrimitive() check.

Co-Authored-By: Bryce McKinlay <bryce@waitaki.otago.ac.nz>

From-SVN: r42898
2001-06-05 10:46:36 +01:00
..
ref
reflect USE_LIBFFI change 2001-06-02 08:49:31 +00:00
AbstractMethodError.java
ArithmeticException.java
ArrayIndexOutOfBoundsException.java
ArrayStoreException.java
Boolean.java
Byte.java Byte.java: Remove redundant instanceof and null checks. 2001-02-09 02:56:38 +00:00
Character.java
Class.h [multiple changes] 2001-05-24 05:40:37 +00:00
Class.java decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
ClassCastException.java
ClassCircularityError.java
ClassFormatError.java
ClassLoader.java Class.h (_Jv_Self): New union type. 2001-05-06 14:42:11 +01:00
ClassNotFoundException.java
Cloneable.java
CloneNotSupportedException.java
Comparable.java
Compiler.java
Double.java Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +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
Exception.java
ExceptionInInitializerError.java ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set. 2001-03-12 07:47:13 +00:00
fdlibm.h
Float.java Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +00:00
ieeefp.h
IllegalAccessError.java
IllegalAccessException.java
IllegalArgumentException.java
IllegalMonitorStateException.java
IllegalStateException.java
IllegalThreadStateException.java
IncompatibleClassChangeError.java
IndexOutOfBoundsException.java
InstantiationError.java
InstantiationException.java
Integer.java javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
InternalError.java
InterruptedException.java
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java
Long.java javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
Math.java
mprec.c
mprec.h
natCharacter.cc
natClass.cc natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds. 2001-06-05 10:46:36 +01:00
natClassLoader.cc * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc. 2001-04-28 01:39:15 +00:00
natDouble.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natEcosProcess.cc
natFloat.cc Double.java (doubleToRawLongBits): Now native. 2001-02-09 22:13:33 +00:00
natMath.cc
natObject.cc configure.in: Only allow hash synchronization when POSIX threads are enabled. 2001-05-24 18:03:47 +00:00
natPosixProcess.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natRuntime.cc !defined(USE_LTDL) fix 2001-06-02 19:40:53 +00:00
natString.cc natString.cc (init): Throw ArrayIndexOutOfBoundsException. 2001-05-24 18:06:03 +00:00
natStringBuffer.cc javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
natSystem.cc natSystem.cc (getSystemTimeZone): Adjust for DST. 2001-04-20 09:43:52 +00:00
natThread.cc Implement invocation interface; don't create new thread for main. 2001-05-21 23:47:48 -07:00
natThrowable.cc configure.in (ia64-*): Don't set SYSDEP_SOURCES. 2001-05-11 23:25:03 -07:00
NegativeArraySizeException.java
NoClassDefFoundError.java
NoSuchFieldError.java
NoSuchFieldException.java
NoSuchMethodError.java
NoSuchMethodException.java
NullPointerException.java
Number.java
NumberFormatException.java
Object.h [multiple changes] 2001-05-24 05:40:37 +00:00
Object.java
OutOfMemoryError.java
Package.java decl.c (init_decl_processing): Add new class "protectionDomain" field. 2001-04-25 16:45:15 +01:00
PosixProcess.java
Process.java
Runnable.java
Runtime.java Runtime.java (_exit): Declare new package-private native. 2001-03-12 07:40:17 +00:00
RuntimeException.java
RuntimePermission.java
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
SecurityManager.java
sf_fabs.c * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t. 2001-01-25 19:07:18 +00:00
sf_rint.c
Short.java Byte.java: Remove redundant instanceof and null checks. 2001-02-09 02:56:38 +00:00
StackOverflowError.java
String.java javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
StringBuffer.java javaprims.h (_Jv_FormatInt): New declaration. 2001-05-21 21:38:37 -07:00
StringIndexOutOfBoundsException.java
strtod.c
System.java Runtime.java (_exit): Declare new package-private native. 2001-03-12 07:40:17 +00:00
Thread.java Implement invocation interface; don't create new thread for main. 2001-05-21 23:47:48 -07:00
ThreadDeath.java
ThreadGroup.java Runtime.java (_exit): Declare new package-private native. 2001-03-12 07:40:17 +00:00
Throwable.java Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style output. 2001-02-23 19:52:49 -08:00
UnknownError.java
UnsatisfiedLinkError.java
UnsupportedOperationException.java
VerifyError.java
VirtualMachineError.java
Void.java
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