summaryrefslogtreecommitdiff
path: root/src/exception_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exception_test.cc')
-rw-r--r--src/exception_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception_test.cc b/src/exception_test.cc
index c35572d51e..58e6533058 100644
--- a/src/exception_test.cc
+++ b/src/exception_test.cc
@@ -38,7 +38,7 @@ class ExceptionTest : public CommonTest {
ASSERT_TRUE(my_klass_ != NULL);
class_linker_->EnsureInitialized(my_klass_, false, true);
- dex_ = &Runtime::Current()->GetClassLinker()->FindDexFile(my_klass_->GetDexCache());
+ dex_ = my_klass_->GetDexCache()->GetDexFile();
uint32_t code_size = 12;
fake_code_.push_back((code_size >> 24) & 0xFF);