Skip to content

Commit 7ea3893

Browse files
committed
Adopt ASM 9.9
Signed-off-by: Maxim Nesen <[email protected]>
1 parent 9857bec commit 7ea3893

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

NOTICE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ KineticJS, v4.7.1
9595
* Project: http://www.kineticjs.com, https://github.com/ericdrowell/KineticJS
9696
* Copyright: Eric Rowell
9797

98-
org.objectweb.asm Version 9.8
98+
org.objectweb.asm Version 9.9
9999
* License: Modified BSD (https://asm.ow2.io/license.html)
100100
* Copyright (c) 2000-2011 INRIA, France Telecom. All rights reserved.
101101

core-server/src/main/java/jersey/repackaged/org/objectweb/asm/ClassReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public ClassReader(
195195
this.b = classFileBuffer;
196196
// Check the class' major_version. This field is after the magic and minor_version fields, which
197197
// use 4 and 2 bytes respectively.
198-
if (checkClassVersion && readShort(classFileOffset + 6) > Opcodes.V25) {
198+
if (checkClassVersion && readShort(classFileOffset + 6) > Opcodes.V26) {
199199
throw new IllegalArgumentException(
200200
"Unsupported class file major version " + readShort(classFileOffset + 6));
201201
}

core-server/src/main/java/jersey/repackaged/org/objectweb/asm/Opcodes.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ public interface Opcodes {
291291
int V23 = 0 << 16 | 67;
292292
int V24 = 0 << 16 | 68;
293293
int V25 = 0 << 16 | 69;
294+
int V26 = 0 << 16 | 70;
294295

295296
/**
296297
* Version flag indicating that the class is using 'preview' features.

core-server/src/main/java/jersey/repackaged/org/objectweb/asm/SymbolTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ private static final class LabelEntry {
14731473

14741474
/**
14751475
* Another entry (and so on recursively) having the same hash code (modulo the size of {@link
1476-
* SymbolTable#labelEntries}}) as this one.
1476+
* SymbolTable#labelEntries}) as this one.
14771477
*/
14781478
LabelEntry next;
14791479

core-server/src/main/java/org/glassfish/jersey/server/internal/scanning/AnnotationAcceptingListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ private Class getClassForName(final String className) {
309309

310310
private static class ClassReaderWrapper {
311311
private static final Logger LOGGER = Logger.getLogger(ClassReader.class.getName());
312-
private static final int WARN_VERSION = Opcodes.V25;
312+
private static final int WARN_VERSION = Opcodes.V26;
313313
private static final int INPUT_STREAM_DATA_CHUNK_SIZE = 4096;
314314

315315
private final byte[] b;

core-server/src/main/resources/META-INF/NOTICE.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ org.glassfish.jersey.server.internal.monitoring.core
3636
* Copyright (c) 2015-2018 Oracle and/or its affiliates. All rights reserved.
3737
* Copyright 2010-2013 Coda Hale and Yammer, Inc.
3838

39-
org.objectweb.asm Version 9.8
39+
org.objectweb.asm Version 9.9
4040
* License: Modified BSD (https://asm.ow2.io/license.html)
4141
* Copyright: (c) 2000-2011 INRIA, France Telecom. All rights reserved.
4242

examples/NOTICE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ KineticJS, v4.7.1
9191
* Project: http://www.kineticjs.com, https://github.com/ericdrowell/KineticJS
9292
* Copyright: Eric Rowell
9393

94-
org.objectweb.asm Version 9.8
94+
org.objectweb.asm Version 9.9
9595
* License: Modified BSD (https://asm.ow2.io/license.html)
9696
* Copyright (c) 2000-2011 INRIA, France Telecom. All rights reserved.
9797

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@
22152215
<arquillian.weld.version>2.1.0.Final</arquillian.weld.version>
22162216
<!-- asm is now source integrated - keeping this property to see the version -->
22172217
<!-- see core-server/src/main/java/jersey/repackaged/asm/.. -->
2218-
<asm.version>9.8</asm.version>
2218+
<asm.version>9.9</asm.version>
22192219
<!--required for spring (ext) modules integration -->
22202220
<aspectj.weaver.version>1.9.22.1</aspectj.weaver.version>
22212221
<!-- <bnd.plugin.version>2.3.6</bnd.plugin.version>-->

0 commit comments

Comments
 (0)