Add reminder to keep section arrays in sync

This commit is contained in:
Lanchon 2018-06-14 08:07:54 -03:00 committed by Ben Gruver
parent da571dbe71
commit 71ea09fc8e

View File

@ -138,6 +138,10 @@ public abstract class DexWriter<
protected int numCodeItemItems = 0;
protected int numClassDataItems = 0;
// The sections defined here must be kept in sync with these section arrays:
// - DexWriter.overflowableSections
// - DexPool.sections
public final StringSectionType stringSection;
public final TypeSectionType typeSection;
public final ProtoSectionType protoSection;