diff --git a/asm/src/main/java/dev/openrs2/asm/NopClassVisitor.kt b/asm/src/main/java/dev/openrs2/asm/NopClassVisitor.kt index d5f0a92791..bd72f0783b 100644 --- a/asm/src/main/java/dev/openrs2/asm/NopClassVisitor.kt +++ b/asm/src/main/java/dev/openrs2/asm/NopClassVisitor.kt @@ -3,4 +3,4 @@ package dev.openrs2.asm import org.objectweb.asm.ClassVisitor import org.objectweb.asm.Opcodes -public object NopClassVisitor : ClassVisitor(Opcodes.ASM8) +public object NopClassVisitor : ClassVisitor(Opcodes.ASM9) diff --git a/asm/src/main/java/dev/openrs2/asm/classpath/JsrInliner.kt b/asm/src/main/java/dev/openrs2/asm/classpath/JsrInliner.kt index fcc7668d35..00cefa54fd 100644 --- a/asm/src/main/java/dev/openrs2/asm/classpath/JsrInliner.kt +++ b/asm/src/main/java/dev/openrs2/asm/classpath/JsrInliner.kt @@ -5,7 +5,7 @@ import org.objectweb.asm.MethodVisitor import org.objectweb.asm.Opcodes import org.objectweb.asm.commons.JSRInlinerAdapter -public class JsrInliner(cv: ClassVisitor) : ClassVisitor(Opcodes.ASM8, cv) { +public class JsrInliner(cv: ClassVisitor) : ClassVisitor(Opcodes.ASM9, cv) { override fun visitMethod( access: Int, name: String, diff --git a/buildSrc/src/main/java/Versions.kt b/buildSrc/src/main/java/Versions.kt index 8f520c1786..1ba5acaed1 100644 --- a/buildSrc/src/main/java/Versions.kt +++ b/buildSrc/src/main/java/Versions.kt @@ -1,5 +1,5 @@ object Versions { - const val asm = "8.0.1" + const val asm = "9.0" const val bouncyCastlePkix = "1.66" const val bouncyCastleProvider = "1.66" const val clikt = "3.0.1" diff --git a/deob/src/main/java/dev/openrs2/deob/analysis/ConstSourceInterpreter.kt b/deob/src/main/java/dev/openrs2/deob/analysis/ConstSourceInterpreter.kt index b85f553827..d4b0ae6af3 100644 --- a/deob/src/main/java/dev/openrs2/deob/analysis/ConstSourceInterpreter.kt +++ b/deob/src/main/java/dev/openrs2/deob/analysis/ConstSourceInterpreter.kt @@ -7,7 +7,7 @@ import org.objectweb.asm.tree.AbstractInsnNode import org.objectweb.asm.tree.analysis.BasicInterpreter import org.objectweb.asm.tree.analysis.Interpreter -public class ConstSourceInterpreter : Interpreter(Opcodes.ASM8) { +public class ConstSourceInterpreter : Interpreter(Opcodes.ASM9) { private val basicInterpreter = BasicInterpreter() override fun newValue(type: Type?): ConstSourceValue? { diff --git a/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.kt b/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.kt index fcd5881fcc..263ee2185e 100644 --- a/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.kt +++ b/deob/src/main/java/dev/openrs2/deob/analysis/IntInterpreter.kt @@ -8,7 +8,7 @@ import org.objectweb.asm.tree.IincInsnNode import org.objectweb.asm.tree.analysis.BasicInterpreter import org.objectweb.asm.tree.analysis.Interpreter -public class IntInterpreter(private val args: Array) : Interpreter(Opcodes.ASM8) { +public class IntInterpreter(private val args: Array) : Interpreter(Opcodes.ASM9) { private val basicInterpreter = BasicInterpreter() override fun newValue(type: Type?): IntValue? { diff --git a/deob/src/main/java/dev/openrs2/deob/analysis/ThisInterpreter.kt b/deob/src/main/java/dev/openrs2/deob/analysis/ThisInterpreter.kt index a5a19dfa8f..4c0ba7dde5 100644 --- a/deob/src/main/java/dev/openrs2/deob/analysis/ThisInterpreter.kt +++ b/deob/src/main/java/dev/openrs2/deob/analysis/ThisInterpreter.kt @@ -6,7 +6,7 @@ import org.objectweb.asm.tree.AbstractInsnNode import org.objectweb.asm.tree.analysis.BasicInterpreter import org.objectweb.asm.tree.analysis.Interpreter -public class ThisInterpreter : Interpreter(Opcodes.ASM8) { +public class ThisInterpreter : Interpreter(Opcodes.ASM9) { private val basicInterpreter = BasicInterpreter() override fun newValue(type: Type?): ThisValue? {