diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-05 10:40:17 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-09 10:09:33 +0000 |
commit | 14691c5e786e8c2c5734f687e4c96217340771be (patch) | |
tree | 7c2156671b323c70ffdd1d48d5e2f1d1de79c5fc /runtime/reflection.cc | |
parent | 3d7d2af4c6502b771b032ee9bf3ab30e78f9c60d (diff) | |
download | android_art-14691c5e786e8c2c5734f687e4c96217340771be.tar.gz android_art-14691c5e786e8c2c5734f687e4c96217340771be.tar.bz2 android_art-14691c5e786e8c2c5734f687e4c96217340771be.zip |
Compute the right catch location for the debugger.
Also remove tls ThrowLocation, it is not needed anymore.
Change-Id: I78fddf09ce968ca475e39c17fa76d699c589c8d9
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r-- | runtime/reflection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc index 2aeb92d49a..4acd07fb18 100644 --- a/runtime/reflection.cc +++ b/runtime/reflection.cc @@ -366,7 +366,7 @@ static void CheckMethodArguments(JavaVMExt* vm, mirror::ArtMethod* m, uint32_t* CHECK(self->IsExceptionPending()); LOG(ERROR) << "Internal error: unresolvable type for argument type in JNI invoke: " << h_m->GetTypeDescriptorFromTypeIdx(type_idx) << "\n" - << self->GetException(nullptr)->Dump(); + << self->GetException()->Dump(); self->ClearException(); ++error_count; } else if (!param_type->IsPrimitive()) { |