From a09f61183ab4971800fa3d1983ac6429ae7efa48 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Tue, 21 Mar 2000 05:54:42 +0000 Subject: [PATCH] * java/lang/natClass.cc (isInstance): Use JV_CLASS, not getClass(). From-SVN: r32665 --- libjava/ChangeLog | 2 +- libjava/java/lang/natClass.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index e62ab792c18..db191ea6ff3 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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 diff --git a/libjava/java/lang/natClass.cc b/libjava/java/lang/natClass.cc index eec6875fe1d..32849927226 100644 --- a/libjava/java/lang/natClass.cc +++ b/libjava/java/lang/natClass.cc @@ -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