Commit 84447668 by Bryce McKinlay Committed by Bryce McKinlay

natClass.cc (_Jv_IsAssignableFrom): Handle the case of an uninitialized target class.

        * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
        an uninitialized target class.

From-SVN: r45893
parent ed9fca3f
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.
......
......@@ -957,6 +957,7 @@ _Jv_IsAssignableFrom (jclass target, jclass source)
return true;
}
else if (source->ancestors != NULL
&& target->ancestors != NULL
&& source->depth >= target->depth
&& source->ancestors[source->depth - target->depth] == target)
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment