summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-12-21 12:13:47 -0800
committerandroid-build-merger <android-build-merger@google.com>2015-12-21 12:13:47 -0800
commit8a5e8d0118de17210316100e740d0417239256e9 (patch)
treecd2eae058f4f4f13b5a82ff557b7eaaf13a1ecfb /compiler/driver/compiler_driver_test.cc
parentd264bab81efdc40500b41620d65a8b3930854719 (diff)
parent76b90e37dfe6eecc904017be8046dd208d30ab8b (diff)
Merge "Rename NullHandle to ScopedNullHandle"
am: 76b90e37df * commit '76b90e37dfe6eecc904017be8046dd208d30ab8b': Rename NullHandle to ScopedNullHandle
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
-rw-r--r--compiler/driver/compiler_driver_test.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc
index 86f8b823cc..b6abc6e8de 100644
--- a/compiler/driver/compiler_driver_test.cc
+++ b/compiler/driver/compiler_driver_test.cc
@@ -149,9 +149,14 @@ TEST_F(CompilerDriverTest, AbstractMethodErrorStub) {
jobject class_loader;
{
ScopedObjectAccess soa(Thread::Current());
- CompileVirtualMethod(NullHandle<mirror::ClassLoader>(), "java.lang.Class", "isFinalizable",
+ CompileVirtualMethod(ScopedNullHandle<mirror::ClassLoader>(),
+ "java.lang.Class",
+ "isFinalizable",
"()Z");
- CompileDirectMethod(NullHandle<mirror::ClassLoader>(), "java.lang.Object", "<init>", "()V");
+ CompileDirectMethod(ScopedNullHandle<mirror::ClassLoader>(),
+ "java.lang.Object",
+ "<init>",
+ "()V");
class_loader = LoadDex("AbstractMethod");
}
ASSERT_TRUE(class_loader != nullptr);