gcc/libjava ChangeLog java/lang/natClass.cc

bryce@gcc.gnu.org bryce@gcc.gnu.org
Tue Jun 5 02:56:00 GMT 2001


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_0-branch
Changes by:	bryce@gcc.gnu.org	2001-06-05 02:56:12

Modified files:
	libjava        : ChangeLog 
	libjava/java/lang: natClass.cc 

Log message:
	2001-05-31  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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.674.2.79&r2=1.674.2.80
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natClass.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.36.2.4&r2=1.36.2.5



More information about the Gcc-cvs mailing list