gcc/libjava/java
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
..
applet
awt Rectangle2D.java: fix doc typo. 2001-05-31 16:48:15 +00:00
beans
io natFile.cc (get_entry): Removed functions. 2001-06-01 04:04:10 +00:00
lang natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds. 2001-06-05 10:46:36 +01:00
math
net [multiple changes] 2001-05-24 05:40:37 +00:00
security PublicKey.java: Extend Key. 2001-06-04 22:55:49 +00:00
sql DriverManager.java (getDrivers): Handle case where driver's class loader is null. 2001-05-31 16:18:55 +00:00
text SimpleDateFormat.java (parse): Handle non-dst time zones. 2001-05-16 15:34:46 +00:00
util GregorianCalendar.java (computeTime): Only call getTimeZone() once. 2001-05-15 21:44:24 +00:00