summaryrefslogtreecommitdiff
path: root/test/MultiDex
diff options
context:
space:
mode:
authorElena Sayapina <elena.v.sayapina@intel.com>2014-08-15 15:52:42 +0700
committerNarayan Kamath <narayan@google.com>2014-10-03 10:22:04 +0100
commitb5abda622135d913e224faa8f9b863e1adf876e0 (patch)
tree06c4b1836ad04ea4d06c5bc06bd3fb91faaeaea6 /test/MultiDex
parent8c732ca5ebec47ef7453fc5e7dc3fb40402d4ff1 (diff)
ART: Fix verifier fail message.
Verifier failure message is corrupted. The verification failure reason overlaps verification failure location. MethodVerifier::Fail() method creates failure message stream by std::ostringstream(failure location) constructor which by default sets the stream's position indicator to the begging of that stream. Inserting failure reason to the stream by "<<" then overrides the failure location. Using std::ostringstream(failure location, std::ostringstream::ate) fixes the issue by setting the stream's position indicator to the end of the stream on opening. Signed-off-by: Elena Sayapina <elena.v.sayapina@intel.com> (cherry picked from commit 78480ecb348beee3f27731e12ec06ade032521d6) bug: 17790245 Change-Id: I31955e859a4eb01d05318395901e8cd229a6c33c
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions