natClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom().
* java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom(). From-SVN: r32664
This commit is contained in:
parent
a162f9d81e
commit
afccdd1d6c
@ -4,6 +4,8 @@
|
|||||||
(isAssignableFrom): Initialize `this' and `klass'.
|
(isAssignableFrom): Initialize `this' and `klass'.
|
||||||
(_Jv_IsAssignableFrom): If an interface has no idt, it is not
|
(_Jv_IsAssignableFrom): If an interface has no idt, it is not
|
||||||
implemented by any loaded class, so return false.
|
implemented by any loaded class, so return false.
|
||||||
|
* java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(),
|
||||||
|
not Class.isAssignableFrom().
|
||||||
|
|
||||||
2000-03-19 Warren Levy <warrenl@cygnus.com>
|
2000-03-19 Warren Levy <warrenl@cygnus.com>
|
||||||
|
|
||||||
|
@ -625,7 +625,7 @@ java::lang::Class::isInstance (jobject obj)
|
|||||||
if (! obj || isPrimitive ())
|
if (! obj || isPrimitive ())
|
||||||
return false;
|
return false;
|
||||||
_Jv_InitClass (this);
|
_Jv_InitClass (this);
|
||||||
return isAssignableFrom (obj->getClass());
|
return _Jv_IsAssignableFrom (this, obj->getClass());
|
||||||
}
|
}
|
||||||
|
|
||||||
inline jboolean
|
inline jboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user