Commit 7ac20fe4 by Per Bothner Committed by Per Bothner

verify.cc (is_assignable_from_slow): If source is an interface, we must also check the superclass.


	* verify.cc (is_assignable_from_slow): If source is an interface,
	we must also check the superclass.

From-SVN: r49189
parent 9bf25b09
2002-01-24 Per Bothner <per@bothner.com>
* verify.cc (is_assignable_from_slow): If source is an interface,
we must also check the the superclass.
2002-01-24 Tom Tromey <tromey@redhat.com>
* gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
......
......@@ -261,7 +261,9 @@ private:
if (is_assignable_from_slow (target, source->interfaces[i]))
return true;
}
return false;
source = source->getSuperclass ();
if (source == NULL)
return false;
}
else if (target == &java::lang::Object::class$)
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