Skip to content

Commit

Permalink
Update ASM to 9.7 and enable Java 22 support
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov authored and iloveeclipse committed Apr 6, 2024
1 parent 3da27c5 commit 19fffff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion org.eclipse.jdt.launching.javaagent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.5</version>
<version>9.7</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2014, 2022 Igor Fedorenko
* Copyright (c) 2014, 2024 Igor Fedorenko
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -25,7 +25,7 @@ public class ClassfileTransformer {
private static final String STRATA_ID = "jdt"; //$NON-NLS-1$

/** max supported java class format major version, must match {@link #ASM_API} below **/
public static final int MAX_CLASS_MAJOR = Opcodes.V21;
public static final int MAX_CLASS_MAJOR = Opcodes.V22;

/** supported ASM API version, must match {@link #MAX_CLASS_MAJOR} above */
private static final int ASM_API = Opcodes.ASM9;
Expand Down

0 comments on commit 19fffff

Please sign in to comment.