< prev index next >

test/hotspot/jtreg/compiler/jvmci/common/CTVMUtilities.java

Print this page
rev 52456 : imported patch asm.additional

@@ -109,11 +109,11 @@
         private final String targetName;
         private final String targetDesc;
 
         public ClassVisitorForLabels(ClassWriter cw, Map<Label, Integer> lines,
                                      Executable target) {
-            super(Opcodes.ASM5, cw);
+            super(Opcodes.ASM7, cw);
             this.lineNumbers = lines;
 
             StringBuilder builder = new StringBuilder("(");
             for (Parameter parameter : target.getParameters()) {
                 builder.append(Utils.toJVMTypeSignature(parameter.getType()));

@@ -135,11 +135,11 @@
                                                String desc, String signature,
                                                String[] exceptions) {
             MethodVisitor mv = cv.visitMethod(access, name, desc, signature,
                     exceptions);
             if (targetDesc.equals(desc) && targetName.equals(name)) {
-                return new MethodVisitor(Opcodes.ASM5, mv) {
+                return new MethodVisitor(Opcodes.ASM7, mv) {
                     @Override
                     public void visitLineNumber(int i, Label label) {
                         super.visitLineNumber(i, label);
                         lineNumbers.put(label, i);
                     }
< prev index next >