summaryrefslogtreecommitdiff
path: root/runtime/common_throws.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/common_throws.cc')
-rw-r--r--runtime/common_throws.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/common_throws.cc b/runtime/common_throws.cc
index b72dc3ff4c3..8fd95ed890a 100644
--- a/runtime/common_throws.cc
+++ b/runtime/common_throws.cc
@@ -878,8 +878,8 @@ void ThrowVerifyError(ObjPtr<mirror::Class> referrer, const char* fmt, ...) {
// WrongMethodTypeException
-void ThrowWrongMethodTypeException(mirror::MethodType* expected_type,
- mirror::MethodType* actual_type) {
+void ThrowWrongMethodTypeException(ObjPtr<mirror::MethodType> expected_type,
+ ObjPtr<mirror::MethodType> actual_type) {
ThrowException("Ljava/lang/invoke/WrongMethodTypeException;",
nullptr,
StringPrintf("Expected %s but was %s",