Skip to content

Commit

Permalink
fix: Updated ASM8 to ASM9 (#12487)
Browse files Browse the repository at this point in the history
Update ASM to support Java 17
  • Loading branch information
mstahv authored and vaadin-bot committed Dec 3, 2021
1 parent d3d362e commit a967881
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ final class FrontendAnnotatedClassVisitor extends ClassVisitor {
* The annotation class name to visit
*/
FrontendAnnotatedClassVisitor(ClassFinder finder, String annotationName) {
super(Opcodes.ASM8);
super(Opcodes.ASM9);
this.finder = finder;
this.annotationName = annotationName;
if (!annotationDefaults.containsKey(annotationName)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final class FrontendClassVisitor extends ClassVisitor {

private final class FrontendMethodVisitor extends MethodVisitor {
public FrontendMethodVisitor() {
super(Opcodes.ASM8);
super(Opcodes.ASM9);
}

// We are interested in the new instances created inside the method
Expand Down Expand Up @@ -143,7 +143,7 @@ public void visitInvokeDynamicInsn(String name, String descriptor,
*/
FrontendClassVisitor(String className, EndPointData endPoint,
boolean themeScope) { // NOSONAR
super(Opcodes.ASM8);
super(Opcodes.ASM9);
this.className = className;
this.endPoint = endPoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
abstract class RepeatedAnnotationVisitor extends AnnotationVisitor {
RepeatedAnnotationVisitor() {
super(Opcodes.ASM8);
super(Opcodes.ASM9);
}

@Override
Expand Down

0 comments on commit a967881

Please sign in to comment.