Skip to content

Commit 1db034f

Browse files
committed
Adopt ASM 9.8
Signed-off-by: jansupol <[email protected]>
1 parent 77ab7da commit 1db034f

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
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.7.1
98+
org.objectweb.asm Version 9.8
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.V24) {
198+
if (checkClassVersion && readShort(classFileOffset + 6) > Opcodes.V25) {
199199
throw new IllegalArgumentException(
200200
"Unsupported class file major version " + readShort(classFileOffset + 6));
201201
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ public void visitTableSwitchInsn(
596596
* Visits a LOOKUPSWITCH instruction.
597597
*
598598
* @param dflt beginning of the default handler block.
599-
* @param keys the values of the keys.
599+
* @param keys the values of the keys. Keys must be sorted in increasing order.
600600
* @param labels beginnings of the handler blocks. {@code labels[i]} is the beginning of the
601601
* handler block for the {@code keys[i]} key.
602602
*/

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
@@ -290,6 +290,7 @@ public interface Opcodes {
290290
int V22 = 0 << 16 | 66;
291291
int V23 = 0 << 16 | 67;
292292
int V24 = 0 << 16 | 68;
293+
int V25 = 0 << 16 | 69;
293294

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2024 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2025 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -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.V24;
312+
private static final int WARN_VERSION = Opcodes.V25;
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.7.1
39+
org.objectweb.asm Version 9.8
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.7.1
94+
org.objectweb.asm Version 9.8
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2010, 2024 Oracle and/or its affiliates. All rights reserved.
4+
Copyright (c) 2010, 2025 Oracle and/or its affiliates. All rights reserved.
55
66
This program and the accompanying materials are made available under the
77
terms of the Eclipse Public License v. 2.0, which is available at
@@ -2195,7 +2195,7 @@
21952195
<arquillian.weld.version>2.1.0.Final</arquillian.weld.version>
21962196
<!-- asm is now source integrated - keeping this property to see the version -->
21972197
<!-- see core-server/src/main/java/jersey/repackaged/asm/.. -->
2198-
<asm.version>9.7.1</asm.version>
2198+
<asm.version>9.8</asm.version>
21992199
<!--required for spring (ext) modules integration -->
22002200
<aspectj.weaver.version>1.9.22.1</aspectj.weaver.version>
22012201
<!-- <bnd.plugin.version>2.3.6</bnd.plugin.version>-->

0 commit comments

Comments
 (0)