jetty-minimal/jetty-annotations-asm6.patch

26 lines
1.3 KiB
Diff
Raw Normal View History

--- jetty.project-jetty-9.4.19.v20190610/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java 2019-06-10 18:17:56.000000000 +0200
+++ jetty.project-jetty-9.4.19.v20190610/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java 2019-10-04 15:08:54.874014725 +0200
@@ -69,8 +69,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
@@ -115,11 +115,6 @@
asmVersion = Opcodes.ASM6;
break;
}
- case 7:
- {
- asmVersion = Opcodes.ASM7;
- break;
- }
default:
{
LOG.warn("Unrecognized ASM version, assuming {}", ASM_OPCODE_VERSION_STR);