diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java index fa4a46c9c53..f72e043fe4b 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java @@ -70,8 +70,8 @@ import org.slf4j.LoggerFactory; public class AnnotationParser { private static final Logger LOG = LoggerFactory.getLogger(AnnotationParser.class); - protected static int ASM_OPCODE_VERSION = Opcodes.ASM7; //compatibility of api - protected static String ASM_OPCODE_VERSION_STR = "ASM7"; + protected static int ASM_OPCODE_VERSION = Opcodes.ASM8; //compatibility of api + protected static String ASM_OPCODE_VERSION_STR = "ASM8"; /** * Map of classnames scanned and the first location from which scan occurred @@ -122,6 +122,11 @@ public class AnnotationParser asmVersion = Opcodes.ASM7; break; } + case 8: + { + asmVersion = Opcodes.ASM8; + break; + } default: { LOG.warn("Unrecognized ASM version, assuming {}", ASM_OPCODE_VERSION_STR); diff --git a/pom.xml b/pom.xml index c2145f900d9..c5f84a284f4 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ 2.0.0-RC2 9.4.8.Final 2.4.0 - 7.3.1 + 8.0.1 1.21 benchmarks 1.4.0