Issue #5178 Update to asm8.0.1 (#5179)

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2020-08-21 10:39:46 +02:00 committed by GitHub
parent ef2f1dfd0d
commit 728daadd92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -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);

View File

@ -29,7 +29,7 @@
<jsp.version>9.0.29</jsp.version>
<infinispan.version>9.4.8.Final</infinispan.version>
<conscrypt.version>2.4.0</conscrypt.version>
<asm.version>7.3.1</asm.version>
<asm.version>8.0.1</asm.version>
<jmh.version>1.21</jmh.version>
<jmhjar.name>benchmarks</jmhjar.name>
<tycho-version>1.4.0</tycho-version>