an uninitialized target class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45893
138bc75d-0d04-0410-961f-
82ee72b054a4
+2001-09-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
+ an uninitialized target class.
+
2001-09-28 Per Bothner <per@bothner.com>
* gnu/gcj/runtime/SharedLibLoader.java: New class.
return false;
return true;
}
- else if (source->ancestors != NULL
- && source->depth >= target->depth
+ else if (source->ancestors != NULL
+ && target->ancestors != NULL
+ && source->depth >= target->depth
&& source->ancestors[source->depth - target->depth] == target)
return true;