diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2018-11-07 10:28:56 -0800 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2018-11-07 10:28:56 -0800 |
commit | c2b0782c3798ccab5059b0a2fec33d9bd8a08e66 (patch) | |
tree | 17e642d6593ecd8d3b7e451925d416953ebab7cc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 70c02611090acb5627aaa71b3d5cbac8229c80d7 (diff) |
Fix flaky idmap test
The entry pool is encoded in UTF-8 not UTF-16. This would cause stringAt
to return a pointer to a cache that holds the UTF-8 string converted to
UTF-16. If the cache becomes invalidated, the UTF-16 pointer is no
longer valid and causes seg faults when looked up.
Test: libandroidfw_tests
Change-Id: I0f13dbeadd0d148de2805efd6cadb8e220368e3b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions