commit | 9084fb6f7c4da5d42c6b58b523d71e8ad65dd754 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Tue Apr 04 09:24:15 2017 +0100 |
committer | Narayan Kamath <narayan@google.com> | Tue Apr 04 11:08:58 2017 +0100 |
tree | 6db28fe61a9a9c544e37cbb2054ffdb7de521b0b | |
parent | 19e7bbfa1fd6bc558a4062ae38b96a1581462a1b [diff] |
Revert "Revert "Matcher: Avoid excessive String copies."" This reverts commit 53e4e15bb0fc2f789274998f3ce62c4fc021fbe8. Fixes a memory leak introduced in 53e4e15bb0f. Also : - switches to using ScopedStringChars to simplify the code further. - better ICU error checking. Bug: 36366255 Bug: 36818684 Test: cts -m CtsLibcoreTestCases Test: ScannerTest on host/x86 Change-Id: I3f108931cd5236be4ff9c0bd608a87701370dbf1