< prev index next >

src/java.base/share/classes/jdk/internal/org/objectweb/asm/util/CheckFieldAdapter.java

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

*** 81,91 **** * the field visitor to which this adapter must delegate calls. * @throws IllegalStateException * If a subclass calls this constructor. */ public CheckFieldAdapter(final FieldVisitor fv) { ! this(Opcodes.ASM5, fv); if (getClass() != CheckFieldAdapter.class) { throw new IllegalStateException(); } } --- 81,91 ---- * the field visitor to which this adapter must delegate calls. * @throws IllegalStateException * If a subclass calls this constructor. */ public CheckFieldAdapter(final FieldVisitor fv) { ! this(Opcodes.ASM6, fv); if (getClass() != CheckFieldAdapter.class) { throw new IllegalStateException(); } }
*** 92,102 **** /** * Constructs a new {@link CheckFieldAdapter}. * * @param api * the ASM API version implemented by this visitor. Must be one ! * of {@link Opcodes#ASM4} or {@link Opcodes#ASM5}. * @param fv * the field visitor to which this adapter must delegate calls. */ protected CheckFieldAdapter(final int api, final FieldVisitor fv) { super(api, fv); --- 92,102 ---- /** * Constructs a new {@link CheckFieldAdapter}. * * @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 fv * the field visitor to which this adapter must delegate calls. */ protected CheckFieldAdapter(final int api, final FieldVisitor fv) { super(api, fv);
< prev index next >