< prev index next >

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

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

*** 140,150 **** * If a subclass calls this constructor. */ public JSRInlinerAdapter(final MethodVisitor mv, final int access, final String name, final String desc, final String signature, final String[] exceptions) { ! this(Opcodes.ASM5, mv, access, name, desc, signature, exceptions); if (getClass() != JSRInlinerAdapter.class) { throw new IllegalStateException(); } } --- 140,150 ---- * If a subclass calls this constructor. */ public JSRInlinerAdapter(final MethodVisitor mv, final int access, final String name, final String desc, final String signature, final String[] exceptions) { ! this(Opcodes.ASM6, mv, access, name, desc, signature, exceptions); if (getClass() != JSRInlinerAdapter.class) { throw new IllegalStateException(); } }
*** 151,161 **** /** * Creates a new JSRInliner. * * @param api * the ASM API version implemented by this visitor. Must be one ! * of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}. * @param mv * the <code>MethodVisitor</code> to send the resulting inlined * method code to (use <code>null</code> for none). * @param access * the method's access flags (see {@link Opcodes}). This --- 151,161 ---- /** * Creates a new JSRInliner. * * @param api * the ASM API version implemented by this visitor. Must be one ! * of {@link Opcodes#ASM4}, {@link Opcodes#ASM5} or {@link Opcodes#ASM6}. * @param mv * the <code>MethodVisitor</code> to send the resulting inlined * method code to (use <code>null</code> for none). * @param access * the method's access flags (see {@link Opcodes}). This
< prev index next >