diff options
author | Narayan Kamath <narayan@google.com> | 2015-01-29 20:06:46 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-02-12 11:54:37 +0000 |
commit | a5afcfc73141e5e378d79a326d02c5c2039fb025 (patch) | |
tree | 424add9558fb816c4f1d2f4edd128f4f2a086d9a /build/Android.gtest.mk | |
parent | 5a3399deaf448c8434d9ba0916ff799b1b791d95 (diff) | |
download | art-a5afcfc73141e5e378d79a326d02c5c2039fb025.zip art-a5afcfc73141e5e378d79a326d02c5c2039fb025.tar.gz art-a5afcfc73141e5e378d79a326d02c5c2039fb025.tar.bz2 |
Be more lenient with 4 byte UTF-8 sequences.
Accept 4 byte sequences and convert them into surrogate
pairs instead of expecting 2 separate 3 byte sequences
each encoding one half of a surrogate pair.
Note that in addition to supporting 4 byte sequences in
strings from JNI, we also tolerate them in dex files. This
is mainly for consistency, and there's no need to claim any
sort of official support.
bug: 18848397
bug: https://code.google.com/p/android/issues/detail?id=81341
Change-Id: Ibc98d29e59d98803e640f2489ea4c56912a59b29
Diffstat (limited to 'build/Android.gtest.mk')
-rw-r--r-- | build/Android.gtest.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk index 06d258d..24d96ba 100644 --- a/build/Android.gtest.mk +++ b/build/Android.gtest.mk @@ -144,6 +144,7 @@ RUNTIME_GTEST_COMMON_SRC_FILES := \ runtime/reference_table_test.cc \ runtime/thread_pool_test.cc \ runtime/transaction_test.cc \ + runtime/utf_test.cc \ runtime/utils_test.cc \ runtime/verifier/method_verifier_test.cc \ runtime/verifier/reg_type_test.cc \ |