diff options
author | Vladimir Marko <vmarko@google.com> | 2014-11-12 17:02:02 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-11-17 18:28:47 +0000 |
commit | 938f966d399821d29075198cac4331d9a0c92bea (patch) | |
tree | 13ece8f832b7af8082db5784bbef6389f6d400e8 /test/MultiDexModifiedSecondary/Main.java | |
parent | a477bbb62ba197815d840d07708526a2bb9c8b4d (diff) |
Fix LinkFieldsComparator.
Define order for primitive types with the same sizes.
Previously, the comparator would consider the fields equal
so the order would depend on std::sort() implementation.
Changing the STL implementation could silently change the
field offsets. (And, unlike std::stable_sort(), the
std::sort() doesn't even need to be deterministic.)
(cherry picked from commit d577748c041aa6df599218f3cb31697ecf032730)
Change-Id: I9b769d023864aa36c52918c7c3dd11c0f6b8f40e
Diffstat (limited to 'test/MultiDexModifiedSecondary/Main.java')
0 files changed, 0 insertions, 0 deletions