diff options
author | Jeff Hao <jeffhao@google.com> | 2015-04-28 02:04:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-28 02:04:09 +0000 |
commit | 9d1e19035a59ff8bf05a09ad880ede99806ba73f (patch) | |
tree | 7eb3c9eb01d4f581f3e354d947300547582fdd38 /runtime/debugger.cc | |
parent | 3fd79afbb7490f52817f737ecceb694f6618dcf9 (diff) | |
parent | 848f70a3d73833fc1bf3032a9ff6812e429661d9 (diff) | |
download | art-9d1e19035a59ff8bf05a09ad880ede99806ba73f.tar.gz art-9d1e19035a59ff8bf05a09ad880ede99806ba73f.tar.bz2 art-9d1e19035a59ff8bf05a09ad880ede99806ba73f.zip |
Merge "Replace String CharArray with internal uint16_t array."
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r-- | runtime/debugger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc index db268dd721..dc1b4f1dd5 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -4078,7 +4078,7 @@ void Dbg::DdmSendThreadNotification(Thread* t, uint32_t type) { StackHandleScope<1> hs(soa.Self()); Handle<mirror::String> name(hs.NewHandle(t->GetThreadName(soa))); size_t char_count = (name.Get() != nullptr) ? name->GetLength() : 0; - const jchar* chars = (name.Get() != nullptr) ? name->GetCharArray()->GetData() : nullptr; + const jchar* chars = (name.Get() != nullptr) ? name->GetValue() : nullptr; std::vector<uint8_t> bytes; JDWP::Append4BE(bytes, t->GetThreadId()); |