Skip to content

Commit 3f4094e

Browse files
SethTisueWojciechMazur
authored andcommitted
Upgrade ASM to 9.9 for JDK 26 support
[Cherry-picked c5b459a]
1 parent 73533c2 commit 3f4094e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

compiler/src/dotty/tools/backend/jvm/BackendUtils.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ object BackendUtils {
186186
22 -> asm.Opcodes.V22,
187187
23 -> asm.Opcodes.V23,
188188
24 -> asm.Opcodes.V24,
189-
25 -> asm.Opcodes.V25
189+
25 -> asm.Opcodes.V25,
190+
26 -> asm.Opcodes.V26,
190191
)
191192
}

project/Build.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ object Build {
784784

785785
// get libraries onboard
786786
libraryDependencies ++= Seq(
787-
"org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1", // used by the backend
787+
"org.scala-lang.modules" % "scala-asm" % "9.9.0-scala-1", // used by the backend
788788
Dependencies.compilerInterface,
789789
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
790790
),
@@ -2489,7 +2489,7 @@ object Build {
24892489
// All the dependencies needed by the compiler
24902490
libraryDependencies ++= Seq(
24912491
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
2492-
"org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1",
2492+
"org.scala-lang.modules" % "scala-asm" % "9.9.0-scala-1",
24932493
Dependencies.compilerInterface,
24942494
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),
24952495
),
@@ -2638,7 +2638,7 @@ object Build {
26382638
Test / unmanagedResourceDirectories += baseDirectory.value / "test-resources",
26392639
// All the dependencies needed by the compiler
26402640
libraryDependencies ++= Seq(
2641-
"org.scala-lang.modules" % "scala-asm" % "9.8.0-scala-1",
2641+
"org.scala-lang.modules" % "scala-asm" % "9.9.0-scala-1",
26422642
Dependencies.compilerInterface,
26432643
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
26442644
("io.get-coursier" %% "coursier" % "2.0.16" % Test).cross(CrossVersion.for3Use2_13),

0 commit comments

Comments
 (0)