summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime_support.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime_support.cc b/src/runtime_support.cc
index 696ef70b42..a6f6b0d0a6 100644
--- a/src/runtime_support.cc
+++ b/src/runtime_support.cc
@@ -778,7 +778,7 @@ extern "C" int artCanPutArrayElementFromCode(const Object* element, const Class*
} else {
FinishCalleeSaveFrameSetup(self, sp, Runtime::kRefsOnly);
Thread::Current()->ThrowNewExceptionF("Ljava/lang/ArrayStoreException;",
- "Cannot store an object of type %s in to an array of type %s",
+ "%s cannot be stored in an array of type %s",
PrettyDescriptor(element_class).c_str(),
PrettyDescriptor(array_class).c_str());
return -1; // Failure