OSDN Git Service

Keep original order of fields in Class.
authorVladimir Marko <vmarko@google.com>
Mon, 10 Nov 2014 18:32:59 +0000 (18:32 +0000)
committerVladimir Marko <vmarko@google.com>
Thu, 13 Nov 2014 18:05:23 +0000 (18:05 +0000)
commitbfa3ed0ad988e1da13626ddbaf6dcae0c58ea79e
tree94a5efc09745b0dad86c9992869e84d48ff47a21
parent7bcea103af7cd130254835a30b45d5277a478074
Keep original order of fields in Class.

The fields of a class are ordered alphabetically in the dex
file. Keep the same order in the field arrays so that we can
do binary search lookups by name. Those lookups will be
implemented in a subsequent change in libcore/.

Bug: 18211592
Change-Id: I8f979de62ffe37d1c7d5c721717d2f3501e7c9e6
compiler/image_writer.cc
runtime/class_linker.cc
runtime/class_linker_test.cc
runtime/mirror/class-inl.h
runtime/mirror/class.h
runtime/mirror/object-inl.h
runtime/mirror/object.cc
test/100-reflect2/expected.txt