< prev index next >

src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/InstructionAdapter.java

Print this page
rev 47452 : imported patch jdk-new-asmv6.patch

@@ -84,11 +84,11 @@
      *            the method visitor to which this adapter delegates calls.
      * @throws IllegalStateException
      *             If a subclass calls this constructor.
      */
     public InstructionAdapter(final MethodVisitor mv) {
-        this(Opcodes.ASM5, mv);
+        this(Opcodes.ASM6, mv);
         if (getClass() != InstructionAdapter.class) {
             throw new IllegalStateException();
         }
     }
 

@@ -95,11 +95,11 @@
     /**
      * Creates a new {@link InstructionAdapter}.
      *
      * @param api
      *            the ASM API version implemented by this visitor. Must be one
-     *            of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}.
+     *            of {@link Opcodes#ASM4}, {@link Opcodes#ASM5} or {@link Opcodes#ASM6}.
      * @param mv
      *            the method visitor to which this adapter delegates calls.
      */
     protected InstructionAdapter(final int api, final MethodVisitor mv) {
         super(api, mv);
< prev index next >