Skip to content

Commit f749104

Browse files
authored
Merge pull request #31193 from gjwatts/update-to-asm-9.8
Update ASM to 9.8 (Java 25)
2 parents 8302108 + 2ed27f4 commit f749104

File tree

6 files changed

+22
-21
lines changed

6 files changed

+22
-21
lines changed

Diff for: dev/cnf/dependabot/check_this_in_if_it_changes/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4489,27 +4489,27 @@
44894489
<dependency>
44904490
<groupId>org.ow2.asm</groupId>
44914491
<artifactId>asm-analysis</artifactId>
4492-
<version>9.7.1</version>
4492+
<version>9.8</version>
44934493
</dependency>
44944494
<dependency>
44954495
<groupId>org.ow2.asm</groupId>
44964496
<artifactId>asm-commons</artifactId>
4497-
<version>9.7.1</version>
4497+
<version>9.8</version>
44984498
</dependency>
44994499
<dependency>
45004500
<groupId>org.ow2.asm</groupId>
45014501
<artifactId>asm-tree</artifactId>
4502-
<version>9.7.1</version>
4502+
<version>9.8</version>
45034503
</dependency>
45044504
<dependency>
45054505
<groupId>org.ow2.asm</groupId>
45064506
<artifactId>asm-util</artifactId>
4507-
<version>9.7.1</version>
4507+
<version>9.8</version>
45084508
</dependency>
45094509
<dependency>
45104510
<groupId>org.ow2.asm</groupId>
45114511
<artifactId>asm</artifactId>
4512-
<version>9.7.1</version>
4512+
<version>9.8</version>
45134513
</dependency>
45144514
<dependency>
45154515
<groupId>org.postgresql</groupId>

Diff for: dev/cnf/oss_dependencies.maven

+5-5
Original file line numberDiff line numberDiff line change
@@ -893,11 +893,11 @@ org.osgi:org.osgi.util.function:1.1.0
893893
org.osgi:org.osgi.util.promise:1.1.1
894894
org.osgi:osgi.core:7.0.0
895895
org.osgi:osgi.core:8.0.0
896-
org.ow2.asm:asm-analysis:9.7.1
897-
org.ow2.asm:asm-commons:9.7.1
898-
org.ow2.asm:asm-tree:9.7.1
899-
org.ow2.asm:asm-util:9.7.1
900-
org.ow2.asm:asm:9.7.1
896+
org.ow2.asm:asm-analysis:9.8
897+
org.ow2.asm:asm-commons:9.8
898+
org.ow2.asm:asm-tree:9.8
899+
org.ow2.asm:asm-util:9.8
900+
org.ow2.asm:asm:9.8
901901
org.postgresql:postgresql:42.7.2
902902
org.powermock:powermock-core:1.5
903903
org.quartz-scheduler:quartz:2.3.2

Diff for: dev/com.ibm.ws.org.objectweb.asm/bnd.bnd

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#*******************************************************************************
2-
# Copyright (c) 2017, 2024 IBM Corporation and others.
2+
# Copyright (c) 2017, 2025 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License 2.0
55
# which accompanies this distribution, and is available at
@@ -10,16 +10,16 @@
1010
# Contributors:
1111
# IBM Corporation - initial API and implementation
1212
#*******************************************************************************
13-
-include= jar:${fileuri;${repo;org.ow2.asm:asm;9.7.1}}!/META-INF/MANIFEST.MF,\
14-
jar:${fileuri;${repo;org.ow2.asm:asm-analysis;9.7.1}}!/META-INF/MANIFEST.MF,\
15-
jar:${fileuri;${repo;org.ow2.asm:asm-commons;9.7.1}}!/META-INF/MANIFEST.MF,\
16-
jar:${fileuri;${repo;org.ow2.asm:asm-tree;9.7.1}}!/META-INF/MANIFEST.MF,\
17-
jar:${fileuri;${repo;org.ow2.asm:asm-util;9.7.1}}!/META-INF/MANIFEST.MF,\
13+
-include= jar:${fileuri;${repo;org.ow2.asm:asm;9.8}}!/META-INF/MANIFEST.MF,\
14+
jar:${fileuri;${repo;org.ow2.asm:asm-analysis;9.8}}!/META-INF/MANIFEST.MF,\
15+
jar:${fileuri;${repo;org.ow2.asm:asm-commons;9.8}}!/META-INF/MANIFEST.MF,\
16+
jar:${fileuri;${repo;org.ow2.asm:asm-tree;9.8}}!/META-INF/MANIFEST.MF,\
17+
jar:${fileuri;${repo;org.ow2.asm:asm-util;9.8}}!/META-INF/MANIFEST.MF,\
1818
bnd.overrides
1919

2020
instrument.disabled: true
2121

22-
asmVersion=9.7.1
22+
asmVersion=9.8
2323

2424
-buildpath: \
2525
org.ow2.asm:asm;version=${asmVersion},\

Diff for: dev/com.ibm.ws.org.objectweb.asm/bnd.overrides

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ DynamicImport-Package: *
1010
# IMPORTANT: Remember to update io.openliberty.asm.ASMHelper.CURRENT_ASM to the value of the most current
1111
# org.objectweb.asm.Opcodes.ASM## constant when updating the ASM dependency.
1212
Export-Package: \
13-
org.objectweb.asm.*;version="9.7.1",\
13+
org.objectweb.asm.*;version="9.8",\
1414
io.openliberty.asm;version="1.0"

Diff for: dev/com.ibm.ws.org.objectweb.asm/src/io/openliberty/asm/ASMHelper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2022,2024 IBM Corporation and others.
2+
* Copyright (c) 2022, 2025 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
@@ -20,7 +20,7 @@
2020
*/
2121
public class ASMHelper {
2222
private static final int CURRENT_ASM = Opcodes.ASM9; // Update this when an ASM update introduces a new constant
23-
private static final int CURRENT_MAX_JAVA_LEVEL = Opcodes.V24; // Update this to show the maximum version of Java we can run with
23+
private static final int CURRENT_MAX_JAVA_LEVEL = Opcodes.V25; // Update this to show the maximum version of Java we can run with
2424

2525
/**
2626
* Returns the constant representing the current version of ASM.

Diff for: dev/com.ibm.ws.ras.instrument_test/test/com/ibm/ws/ras/RasTransformTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2017, 2024 IBM Corporation and others.
2+
* Copyright (c) 2017, 2025 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
@@ -76,6 +76,7 @@ public static void setup() {
7676
majorCodeMap.put("22", 66);
7777
majorCodeMap.put("23", 67);
7878
majorCodeMap.put("24", 68);
79+
majorCodeMap.put("25", 69);
7980
}
8081

8182
/**

0 commit comments

Comments
 (0)