diff options
author | Ian Rogers <irogers@google.com> | 2013-10-30 01:00:44 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2013-10-30 01:00:44 -0700 |
commit | dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111 (patch) | |
tree | 0b63738b04404f42015da7164dfe5ec506452b02 /runtime/reflection.cc | |
parent | eda6df7374bf61c933d4a36635e2a9a30c9892a0 (diff) | |
download | art-dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111.zip art-dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111.tar.gz art-dfb325e0ddd746cd8f7c2e3723b3a573eb7cc111.tar.bz2 |
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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc index 4ff7349..80e16aa 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); |