aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java17
1 files changed, 14 insertions, 3 deletions
diff --git a/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java b/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java
index eb73ea8c..62ebb940 100644
--- a/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java
+++ b/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/DexPool.java
@@ -57,9 +57,20 @@ public class DexPool extends DexWriter<CharSequence, StringReference, CharSequen
ArrayEncodedValue, EncodedValue, AnnotationElement, StringPool, TypePool, ProtoPool, FieldPool, MethodPool,
ClassPool, CallSitePool, MethodHandlePool, TypeListPool, AnnotationPool, AnnotationSetPool, EncodedArrayPool> {
- private final Markable[] sections = new Markable[] {
- stringSection, typeSection, protoSection, fieldSection, methodSection, classSection, callSiteSection,
- methodHandleSection, typeListSection, annotationSection, annotationSetSection, encodedArraySection
+ private final BasePool<?, ?>[] sections = new BasePool<?, ?>[] {
+ stringSection,
+ typeSection,
+ protoSection,
+ fieldSection,
+ methodSection,
+ classSection,
+ callSiteSection,
+ methodHandleSection,
+
+ typeListSection,
+ annotationSection,
+ annotationSetSection,
+ encodedArraySection,
};
public DexPool(Opcodes opcodes) {