jetty-minimal/jetty-annotations-asm6.patch

26 lines
1.3 KiB
Diff
Raw Normal View History

--- jetty.project-jetty-9.4.22.v20191022/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java 2019-10-22 15:20:50.000000000 +0200
+++ jetty.project-jetty-9.4.22.v20191022/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java 2019-11-07 17:07:33.334457334 +0100
@@ -71,8 +71,8 @@
public class AnnotationParser
{
private static final Logger LOG = Log.getLogger(AnnotationParser.class);
- private static final int ASM_OPCODE_VERSION = Opcodes.ASM7; //compatibility of api
- private static final String ASM_OPCODE_VERSION_STR = "ASM7";
+ private static final int ASM_OPCODE_VERSION = Opcodes.ASM6; //compatibility of api
+ private static final String ASM_OPCODE_VERSION_STR = "ASM6";
/**
* Map of classnames scanned and the first location from which scan occurred
@@ -118,11 +118,6 @@
asmVersion = Opcodes.ASM6;
break;
}
- case 7:
- {
- asmVersion = Opcodes.ASM7;
- break;
- }
default:
{
LOG.warn("Unrecognized ASM version, assuming {}", ASM_OPCODE_VERSION_STR);