Skip to content

Commit 1c268ec

Browse files
committed
Fix ASM7 error
1 parent 107371a commit 1c268ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jooby/src/main/java/io/jooby/internal/asm/MethodFinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class MethodFinder extends ClassVisitor {
2323
public ASMifier printer;
2424

2525
public MethodFinder(Method method, boolean debug) {
26-
super(Opcodes.ASM6);
26+
super(Opcodes.ASM7);
2727
this.descriptor = Type.getMethodDescriptor(method);
2828
this.name = method.getName();
2929
this.debug = debug;

jooby/src/main/java/io/jooby/internal/mvc/MvcMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void destroy() {
4747
}
4848

4949
private static ClassVisitor visitor(final Map<String, MvcMethod> md) {
50-
return new ClassVisitor(Opcodes.ASM5) {
50+
return new ClassVisitor(Opcodes.ASM7) {
5151

5252
private String classname;
5353

0 commit comments

Comments
 (0)