diff --git a/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala b/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala index 865ee9bf4af9..cb7ed3d54788 100644 --- a/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala +++ b/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala @@ -185,5 +185,6 @@ object BackendUtils { 20 -> asm.Opcodes.V20, 21 -> asm.Opcodes.V21, 22 -> asm.Opcodes.V22, + 23 -> asm.Opcodes.V23 ) } diff --git a/project/Build.scala b/project/Build.scala index ed0e7fe8f537..2c3c9368e825 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -641,7 +641,7 @@ object Build { // get libraries onboard libraryDependencies ++= Seq( - "org.scala-lang.modules" % "scala-asm" % "9.6.0-scala-1", // used by the backend + "org.scala-lang.modules" % "scala-asm" % "9.7.0-scala-2", // used by the backend Dependencies.compilerInterface, "org.jline" % "jline-reader" % "3.25.1", // used by the REPL "org.jline" % "jline-terminal" % "3.25.1", diff --git a/tests/pos-with-compiler-cc/dotc/config/ScalaSettings.scala b/tests/pos-with-compiler-cc/dotc/config/ScalaSettings.scala index 558eb3e0a12b..914146c3c175 100644 --- a/tests/pos-with-compiler-cc/dotc/config/ScalaSettings.scala +++ b/tests/pos-with-compiler-cc/dotc/config/ScalaSettings.scala @@ -17,7 +17,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings object ScalaSettings: // Keep synchronized with `classfileVersion` in `BCodeIdiomatic` private val minTargetVersion = 8 - private val maxTargetVersion = 22 + private val maxTargetVersion = 23 def supportedTargetVersions: List[String] = (minTargetVersion to maxTargetVersion).toList.map(_.toString)