summaryrefslogtreecommitdiffstats
path: root/runtime/reflection.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-10-30 01:00:44 -0700
committerIan Rogers <irogers@google.com>2013-10-30 01:00:44 -0700
commitdfb325e0ddd746cd8f7c2e3723b3a573eb7cc111 (patch)
tree0b63738b04404f42015da7164dfe5ec506452b02 /runtime/reflection.cc
parenteda6df7374bf61c933d4a36635e2a9a30c9892a0 (diff)
downloadart-dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111.tar.gz
art-dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111.tar.bz2
art-dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111.zip
Don't use UTF16 length as length for MUTF8.
Bug 11367555. Change-Id: Ia0b07072a1a49d435c3b71ed9a668b316b7ff5d8
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r--runtime/reflection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc
index 4ff7349833..80e16aa6c0 100644
--- a/runtime/reflection.cc
+++ b/runtime/reflection.cc
@@ -323,7 +323,7 @@ static bool UnboxPrimitive(const ThrowLocation* throw_location, mirror::Object*
}
JValue boxed_value;
- const StringPiece src_descriptor(ClassHelper(o->GetClass()).GetDescriptorAsStringPiece());
+ const StringPiece src_descriptor(ClassHelper(o->GetClass()).GetDescriptor());
mirror::Class* src_class = NULL;
ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
mirror::ArtField* primitive_field = o->GetClass()->GetIFields()->Get(0);