diff options
Diffstat (limited to 'runtime/reflection-inl.h')
-rw-r--r-- | runtime/reflection-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/reflection-inl.h b/runtime/reflection-inl.h index 26fb021903..9fe4bca9dd 100644 --- a/runtime/reflection-inl.h +++ b/runtime/reflection-inl.h @@ -121,7 +121,7 @@ inline bool VerifyObjectIsClass(ObjPtr<mirror::Object> o, ObjPtr<mirror::Class> if (UNLIKELY(o == nullptr)) { ThrowNullPointerException("null receiver"); return false; - } else if (UNLIKELY(!o->InstanceOf(c.Ptr()))) { + } else if (UNLIKELY(!o->InstanceOf(c))) { InvalidReceiverError(o, c); return false; } |