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