Fixed an issue where the AnnotationSetRefList section didn't have a corresponding map entry

git-svn-id: https://smali.googlecode.com/svn/trunk@59 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-06-02 07:58:50 +00:00
parent 76ec9bbc90
commit b0b76a1924
2 changed files with 3 additions and 3 deletions

View File

@ -82,6 +82,7 @@ public class DexFile
}; };
offsettedSections = new OffsettedSection[] { offsettedSections = new OffsettedSection[] {
AnnotationSetRefListsSection,
AnnotationSetsSection, AnnotationSetsSection,
CodeItemsSection, CodeItemsSection,
AnnotationDirectoriesSection, AnnotationDirectoriesSection,
@ -90,9 +91,7 @@ public class DexFile
DebugInfoItemsSection, DebugInfoItemsSection,
AnnotationsSection, AnnotationsSection,
EncodedArraysSection, EncodedArraysSection,
ClassDataSection, ClassDataSection
AnnotationSetRefListsSection
}; };
} }

View File

@ -84,6 +84,7 @@ public class MapItem extends IndexedItem<MapItem> {
mapItem.mapEntries.add(new MapField(dexFile, (short)0x0004)); mapItem.mapEntries.add(new MapField(dexFile, (short)0x0004));
mapItem.mapEntries.add(new MapField(dexFile, (short)0x0005)); mapItem.mapEntries.add(new MapField(dexFile, (short)0x0005));
mapItem.mapEntries.add(new MapField(dexFile, (short)0x0006)); mapItem.mapEntries.add(new MapField(dexFile, (short)0x0006));
mapItem.mapEntries.add(new MapField(dexFile, (short)0x1002));
mapItem.mapEntries.add(new MapField(dexFile, (short)0x1003)); mapItem.mapEntries.add(new MapField(dexFile, (short)0x1003));
mapItem.mapEntries.add(new MapField(dexFile, (short)0x2001)); mapItem.mapEntries.add(new MapField(dexFile, (short)0x2001));
mapItem.mapEntries.add(new MapField(dexFile, (short)0x2006)); mapItem.mapEntries.add(new MapField(dexFile, (short)0x2006));