From 8baf8775093e63523686f37d7bda429ec91ccbc6 Mon Sep 17 00:00:00 2001 From: Graham Date: Wed, 7 Oct 2020 23:23:27 +0100 Subject: [PATCH] Update dependencies --- pom.xml | 2 +- .../java/org/apache/harmony/pack200/Segment.java | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index f650c79..d6dd581 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ org.ow2.asm asm - 8.0.1 + 9.0 junit diff --git a/src/main/java/org/apache/harmony/pack200/Segment.java b/src/main/java/org/apache/harmony/pack200/Segment.java index c262da5..f581bbc 100644 --- a/src/main/java/org/apache/harmony/pack200/Segment.java +++ b/src/main/java/org/apache/harmony/pack200/Segment.java @@ -56,7 +56,7 @@ public class Segment extends ClassVisitor { private Attribute[] nonStandardAttributePrototypes; public Segment() { - super(Opcodes.ASM8); + super(Opcodes.ASM9); } /** @@ -273,7 +273,7 @@ public class Segment extends ClassVisitor { public class SegmentMethodVisitor extends MethodVisitor { public SegmentMethodVisitor() { - super(Opcodes.ASM8); + super(Opcodes.ASM9); } public AnnotationVisitor visitAnnotation(String desc, boolean visible) { @@ -451,20 +451,20 @@ public class Segment extends ClassVisitor { public SegmentAnnotationVisitor(int context, String desc, boolean visible) { - super(Opcodes.ASM8); + super(Opcodes.ASM9); this.context = context; this.desc = desc; this.visible = visible; } public SegmentAnnotationVisitor(int context) { - super(Opcodes.ASM8); + super(Opcodes.ASM9); this.context = context; } public SegmentAnnotationVisitor(int context, int parameter, String desc, boolean visible) { - super(Opcodes.ASM8); + super(Opcodes.ASM9); this.context = context; this.parameter = parameter; this.desc = desc; @@ -486,7 +486,7 @@ public class Segment extends ClassVisitor { nameRU.add(name); nestTypeRS.add(desc); nestPairN.add(new Integer(0)); - return new AnnotationVisitor(Opcodes.ASM8) { + return new AnnotationVisitor(Opcodes.ASM9) { public void visit(String name, Object value) { Integer numPairs = (Integer) nestPairN.remove(nestPairN.size() - 1); nestPairN.add(new Integer(numPairs.intValue() + 1)); @@ -559,7 +559,7 @@ public class Segment extends ClassVisitor { private List T; public ArrayVisitor(List caseArrayN, List T, List nameRU, List values) { - super(Opcodes.ASM8); + super(Opcodes.ASM9); this.caseArrayN = caseArrayN; this.T = T; this.nameRU = nameRU; @@ -610,7 +610,7 @@ public class Segment extends ClassVisitor { public class SegmentFieldVisitor extends FieldVisitor { public SegmentFieldVisitor() { - super(Opcodes.ASM8); + super(Opcodes.ASM9); } public AnnotationVisitor visitAnnotation(String desc, boolean visible) {