Skip to content

Commit

Permalink
[MPLUGIN-369] - Upgrade ASM Api version to ASM9 in visitors - in sync…
Browse files Browse the repository at this point in the history
… with the current ASM version.

This fixes the "Record requires ASM8" problem when Records are used in a Mojo.

This closes #32
  • Loading branch information
vovkss authored and slachiewicz committed Nov 22, 2020
1 parent 9d1289e commit 2f29e9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -41,7 +41,7 @@ public class MojoAnnotationVisitor

MojoAnnotationVisitor( Logger logger, String annotationClassName )
{
super( Opcodes.ASM7 );
super( Opcodes.ASM9 );
this.logger = logger;
this.annotationClassName = annotationClassName;
}
Expand Down
Expand Up @@ -53,7 +53,7 @@ public class MojoClassVisitor

public MojoClassVisitor( Logger logger )
{
super( Opcodes.ASM7 );
super( Opcodes.ASM9 );
this.logger = logger;
}

Expand Down
Expand Up @@ -44,7 +44,7 @@ public class MojoFieldVisitor

MojoFieldVisitor( Logger logger, String fieldName, String className )
{
super( Opcodes.ASM7 );
super( Opcodes.ASM9 );
this.logger = logger;
this.fieldName = fieldName;
this.className = className;
Expand Down

0 comments on commit 2f29e9a

Please sign in to comment.