summaryrefslogtreecommitdiff
path: root/runtime/imtable_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/imtable_test.cc')
-rw-r--r--runtime/imtable_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/imtable_test.cc b/runtime/imtable_test.cc
index 8cbe2916ec..17149dfe44 100644
--- a/runtime/imtable_test.cc
+++ b/runtime/imtable_test.cc
@@ -53,7 +53,7 @@ class ImTableTest : public CommonRuntimeTest {
ObjPtr<mirror::ClassLoader>::DownCast(self->DecodeJObject(jclass_loader_a)));
Handle<mirror::Class> h_class_a(
hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader)));
- if (h_class_a.Get() == nullptr) {
+ if (h_class_a == nullptr) {
LOG(ERROR) << self->GetException()->Dump();
CHECK(false) << "h_class_a == nullptr";
}
@@ -63,7 +63,7 @@ class ImTableTest : public CommonRuntimeTest {
ObjPtr<mirror::ClassLoader>::DownCast(self->DecodeJObject(jclass_loader_b)));
Handle<mirror::Class> h_class_b(
hs.NewHandle(class_linker->FindClass(self, class_name.c_str(), h_class_loader)));
- if (h_class_b.Get() == nullptr) {
+ if (h_class_b == nullptr) {
LOG(ERROR) << self->GetException()->Dump();
CHECK(false) << "h_class_b == nullptr";
}