Skip to content

Commit d84007c

Browse files
authored
Update asm to 9.4 (#16155)
scala 2.12.x PR: scala/scala#10185 scala 2.13.x PR: scala/scala#10184
2 parents 7fd161f + 4f7b5a6 commit d84007c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ trait BCodeIdiomatic {
5454
case "17" => asm.Opcodes.V17
5555
case "18" => asm.Opcodes.V18
5656
case "19" => asm.Opcodes.V19
57+
case "20" => asm.Opcodes.V20
5758
}
5859

5960
lazy val majorVersion: Int = (classfileVersion & 0xFF)

compiler/src/dotty/tools/dotc/config/ScalaSettings.scala

Lines changed: 1 addition & 1 deletion
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 = 19
20+
private val maxTargetVersion = 20
2121

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

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ object Build {
545545

546546
// get libraries onboard
547547
libraryDependencies ++= Seq(
548-
"org.scala-lang.modules" % "scala-asm" % "9.3.0-scala-1", // used by the backend
548+
"org.scala-lang.modules" % "scala-asm" % "9.4.0-scala-1", // used by the backend
549549
Dependencies.oldCompilerInterface, // we stick to the old version to avoid deprecation warnings
550550
"org.jline" % "jline-reader" % "3.19.0", // used by the REPL
551551
"org.jline" % "jline-terminal" % "3.19.0",

0 commit comments

Comments
 (0)