diff options
author | Narayan Kamath <narayan@google.com> | 2015-05-06 14:55:43 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-05-07 13:33:13 +0100 |
commit | 8508e37deeb291f92d28a9bff2df77cabdc29ddf (patch) | |
tree | cad2b501e3bf8ca2c6f784f4fc69fff6f8b1e7ac /test/MultiDexModifiedSecondary | |
parent | f07f71f9af8f56e738ef0451c60734ec6022d08e (diff) |
Fix broken checks in IsValidPartOfMemberNameUtf8Slow.
GetUtf16FromUtf8 returns a surrogate pair only if it encounters
a 4-byte UTF sequence. Three byte UTF sequences will only return the
first or second half of a pair so we need to check for that
explicitly.
bug: 20844537
(cherry picked from commit 3ba8671d60061359fd833f60f7a9dca14878cc0b)
Change-Id: I2e2a4f9f736cd11050a2b634b3bb27b75a0ee0ba
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions