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 d7db8a4c5c..52cdfb817a 100644 --- a/runtime/reflection-inl.h +++ b/runtime/reflection-inl.h @@ -107,7 +107,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.Decode()))) { + } else if (UNLIKELY(!o->InstanceOf(c.Ptr()))) { InvalidReceiverError(o, c); return false; } |