diff options
Diffstat (limited to 'runtime/var_handles.cc')
| -rw-r--r-- | runtime/var_handles.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/var_handles.cc b/runtime/var_handles.cc index e6730c6114..f08742fcd7 100644 --- a/runtime/var_handles.cc +++ b/runtime/var_handles.cc @@ -89,8 +89,8 @@ bool VarHandleInvokeAccessor(Thread* self, result); } else { DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); - ThrowWrongMethodTypeException(var_handle->GetMethodTypeForAccessMode(self, access_mode), - callsite_type.Get()); + ThrowWrongMethodTypeException(var_handle->PrettyDescriptorForAccessMode(access_mode), + callsite_type->PrettyDescriptor()); return false; } } |