From 2d73265cfbee0a8c6d7238881577d8ccaf83d19f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 13 Nov 2025 17:14:31 -0600 Subject: [PATCH] Upgrade ASM to 9.9 for JDK 26 support --- compiler/src/dotty/tools/backend/jvm/BackendUtils.scala | 3 ++- project/Build.scala | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala b/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala index 1b16b2bc9800..d84f76492800 100644 --- a/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala +++ b/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala @@ -187,6 +187,7 @@ object BackendUtils { 22 -> asm.Opcodes.V22, 23 -> asm.Opcodes.V23, 24 -> asm.Opcodes.V24, - 25 -> asm.Opcodes.V25 + 25 -> asm.Opcodes.V25, + 26 -> asm.Opcodes.V26, ) } diff --git a/project/Build.scala b/project/Build.scala index e1adceecdb98..ec970db35ba4 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -670,7 +670,7 @@ object Build { // get libraries onboard libraryDependencies ++= Seq( - "org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1", // used by the backend + "org.scala-lang.modules" % "scala-asm" % "9.9.0-scala-1", // used by the backend Dependencies.compilerInterface, "org.jline" % "jline-reader" % "3.29.0", // used by the REPL "org.jline" % "jline-terminal" % "3.29.0",