From 9865bde5d822f56c4732214c2005dfcaa41f94cf Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 21 Dec 2015 09:58:16 -0800 Subject: Rename NullHandle to ScopedNullHandle This makes it clearer that is invalid to do things like: Handle h = ScopedNullHandle(); Bug: 26233305 Change-Id: I6d8f54eae01ec2e901cb7043afa853ea77db79fe --- compiler/oat_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'compiler/oat_test.cc') diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc index 451aa682d6..7b7d46caa2 100644 --- a/compiler/oat_test.cc +++ b/compiler/oat_test.cc @@ -224,8 +224,9 @@ TEST_F(OatTest, WriteRead) { } const char* descriptor = dex_file.GetClassDescriptor(class_def); - mirror::Class* klass = class_linker->FindClass(soa.Self(), descriptor, - NullHandle()); + mirror::Class* klass = class_linker->FindClass(soa.Self(), + descriptor, + ScopedNullHandle()); const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i); CHECK_EQ(mirror::Class::Status::kStatusNotReady, oat_class.GetStatus()) << descriptor; -- cgit v1.2.3-59-g8ed1b