HHH-13833 Replace OpCodes.ASM5 with OpCodes.ASM7 in the Byte Buddy enhancer
This commit is contained in:
parent
252ca9e98b
commit
a4ba766620
|
@ -296,7 +296,7 @@ final class BiDirectionalAssociationHandler implements Implementation {
|
|||
@Override
|
||||
public Size apply(
|
||||
MethodVisitor methodVisitor, Context implementationContext, MethodDescription instrumentedMethod) {
|
||||
return delegate.apply( new MethodVisitor( Opcodes.ASM5, methodVisitor ) {
|
||||
return delegate.apply( new MethodVisitor( Opcodes.ASM7, methodVisitor ) {
|
||||
|
||||
@Override
|
||||
public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) {
|
||||
|
|
|
@ -54,7 +54,7 @@ final class FieldAccessEnhancer implements AsmVisitorWrapper.ForDeclaredMethods.
|
|||
TypePool typePool,
|
||||
int writerFlags,
|
||||
int readerFlags) {
|
||||
return new MethodVisitor( Opcodes.ASM5, methodVisitor ) {
|
||||
return new MethodVisitor( Opcodes.ASM7, methodVisitor ) {
|
||||
@Override
|
||||
public void visitFieldInsn(int opcode, String owner, String name, String desc) {
|
||||
if ( opcode != Opcodes.GETFIELD && opcode != Opcodes.PUTFIELD ) {
|
||||
|
|
|
@ -134,7 +134,7 @@ final class PersistentAttributeTransformer implements AsmVisitorWrapper.ForDecla
|
|||
TypePool typePool,
|
||||
int writerFlags,
|
||||
int readerFlags) {
|
||||
return new MethodVisitor( Opcodes.ASM5, methodVisitor ) {
|
||||
return new MethodVisitor( Opcodes.ASM7, methodVisitor ) {
|
||||
@Override
|
||||
public void visitFieldInsn(int opcode, String owner, String name, String desc) {
|
||||
if ( isEnhanced( owner, name, desc ) ) {
|
||||
|
|
Loading…
Reference in New Issue