Update dependencies

master
Graham 4 years ago
parent 317a958f9a
commit 8baf877509
  1. 2
      pom.xml
  2. 16
      src/main/java/org/apache/harmony/pack200/Segment.java

@ -40,7 +40,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>8.0.1</version>
<version>9.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>

@ -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) {

Loading…
Cancel
Save