OSDN Git Service

Fix debugger calling new String().
authorJeff Hao <jeffhao@google.com>
Sat, 20 Aug 2016 01:31:39 +0000 (18:31 -0700)
committerJeff Hao <jeffhao@google.com>
Mon, 22 Aug 2016 18:48:52 +0000 (11:48 -0700)
commit95ca9d2099ef36a575f93e41b1b77fe2b70ba67c
tree2a80a7b4320b572ab00d00dbc0d5aa7bacc122b2
parentb6f58cbfad5bb39d481d2986b2a8792bb42f65e7
Fix debugger calling new String().

Used to return an empty string instead of the newly created String.
Requires accompanying jdwp test fix to test String contents.

Bug: 30951794
Test: mm -j24 run-jdwp-tests-host

Merges two cherry-picks:
f15ec05896ddc5fec1f224ef97bdfebb72b5a855
9e0878494cdacd0877a1614041efc38ebb053017

Change-Id: Idc4725b82798a9b6d636c72e76715bc97ad30d23
runtime/debugger.cc