Skip to content

Commit 41591ae

Browse files
Backport "Update asm to patched 9.7" to 3.5.2 (#21499)
Backports #20144 to the 3.5.2 branch. PR submitted by the release tooling. [skip ci]
2 parents 123ee63 + 25e13ab commit 41591ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: compiler/src/dotty/tools/backend/jvm/BackendUtils.scala

+1
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,6 @@ object BackendUtils {
185185
20 -> asm.Opcodes.V20,
186186
21 -> asm.Opcodes.V21,
187187
22 -> asm.Opcodes.V22,
188+
23 -> asm.Opcodes.V23
188189
)
189190
}

Diff for: project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ object Build {
641641

642642
// get libraries onboard
643643
libraryDependencies ++= Seq(
644-
"org.scala-lang.modules" % "scala-asm" % "9.6.0-scala-1", // used by the backend
644+
"org.scala-lang.modules" % "scala-asm" % "9.7.0-scala-2", // used by the backend
645645
Dependencies.compilerInterface,
646646
"org.jline" % "jline-reader" % "3.25.1", // used by the REPL
647647
"org.jline" % "jline-terminal" % "3.25.1",

Diff for: tests/pos-with-compiler-cc/dotc/config/ScalaSettings.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ScalaSettings extends SettingGroup with AllScalaSettings
1717
object ScalaSettings:
1818
// Keep synchronized with `classfileVersion` in `BCodeIdiomatic`
1919
private val minTargetVersion = 8
20-
private val maxTargetVersion = 22
20+
private val maxTargetVersion = 23
2121

2222
def supportedTargetVersions: List[String] =
2323
(minTargetVersion to maxTargetVersion).toList.map(_.toString)

0 commit comments

Comments
 (0)