diff options
| author | Narayan Kamath <narayan@google.com> | 2014-01-17 13:23:33 +0000 |
|---|---|---|
| committer | LorDClockaN <davor@losinj.com> | 2014-03-28 21:50:56 +0100 |
| commit | a50c1024213a5c5eaad414b6542bae7bab1d3549 (patch) | |
| tree | 4a3c55914aa5951f3bac28b0d1dab49b7dba9572 | |
| parent | 6527b83f7327af4a3919f07054129130e44fdef3 (diff) | |
Change exception message for ArrayStoreException.
The exception message is tested in SystemTest. I'm not sure
what's worse: Changing the dalvik message or changing the test
to be happy with both messages.
(I assume the art message is the one we chose because it's more
recent.)
Change-Id: Ia68641a05f992ab5a949add865fb3f7bb46e61be
| -rw-r--r-- | vm/Exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/Exception.cpp b/vm/Exception.cpp index ca7614096..36f2d20c0 100644 --- a/vm/Exception.cpp +++ b/vm/Exception.cpp @@ -1225,7 +1225,7 @@ void dvmThrowArrayStoreExceptionNotArray(ClassObject* actual, const char* label) void dvmThrowArrayStoreExceptionIncompatibleArrays(ClassObject* source, ClassObject* destination) { throwTypeError(gDvm.exArrayStoreException, - "%s and %s are incompatible array types", + "Incompatible types: src=%s, dst=%s", source, destination); } |
