From 31c53655ce25c5efd2e061df641ea510edd02056 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 30 Nov 2021 19:26:33 +0200 Subject: [PATCH] Updated ASM8 to ASM9 --- .../frontend/scanner/FrontendAnnotatedClassVisitor.java | 2 +- .../flow/server/frontend/scanner/FrontendClassVisitor.java | 4 ++-- .../server/frontend/scanner/RepeatedAnnotationVisitor.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendAnnotatedClassVisitor.java b/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendAnnotatedClassVisitor.java index 8e6b61dd2f7..b9ed988fed2 100644 --- a/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendAnnotatedClassVisitor.java +++ b/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendAnnotatedClassVisitor.java @@ -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)) { diff --git a/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendClassVisitor.java b/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendClassVisitor.java index abad85a434e..2918595cb6f 100644 --- a/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendClassVisitor.java +++ b/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendClassVisitor.java @@ -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 @@ -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; diff --git a/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/RepeatedAnnotationVisitor.java b/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/RepeatedAnnotationVisitor.java index 5748028ed1f..4e046b59789 100644 --- a/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/RepeatedAnnotationVisitor.java +++ b/flow-server/src/main/java/com/vaadin/flow/server/frontend/scanner/RepeatedAnnotationVisitor.java @@ -27,7 +27,7 @@ */ abstract class RepeatedAnnotationVisitor extends AnnotationVisitor { RepeatedAnnotationVisitor() { - super(Opcodes.ASM8); + super(Opcodes.ASM9); } @Override