Skip to content

Conversation

pjfanning
Copy link
Member

@pjfanning pjfanning commented Sep 16, 2025

  • an experiment
  • seems like there is an issue in scalafix - we might need to wait for a new release of scalafix that supports Java 25
  • or the issue could in Scala compiler
[info] compiling 1 Scala source to /home/runner/work/pekko-http/pekko-http/http-scalafix/scalafix-rules/target/scala-2.13/classes ...
[43.193s][info][gc] GC(58) Pause Young (Prepare Mixed) (G1 Evacuation Pause) 703M->361M(768M) 36.317ms
[warn] /home/runner/work/pekko-http/pekko-http/http-scalafix/scalafix-rules/src/main/scala/org/apache/pekko/http/fix/MigrateToServerBuilder.scala:31:64: method args in trait Apply is deprecated: 4.6.0
[warn]           (t.parent.get, t.parent.get.asInstanceOf[Term.Apply].args.head)
[warn]                                                                ^
Warning: method args in trait Apply is deprecated: 4.6.0
[warn] /home/runner/work/pekko-http/pekko-http/http-scalafix/scalafix-rules/src/main/scala/org/apache/pekko/http/fix/MigrateToServerBuilder.scala:45:54: method args in trait Apply is deprecated: 4.6.0
[warn]         namedArgMap(args, t.asInstanceOf[Term.Apply].args) ++ materializerAndTarget.map("materializer" -> _._2).toSeq
[warn]                                                      ^
Warning: method args in trait Apply is deprecated: 4.6.0
[error] Error while emitting MigrateToServerBuilder.scala
[error] Unsupported class file major version 69
[error] Error while emitting MigrateToServerBuilder.scala
[error] Unsupported class file major version 69
[error] Error while emitting MigrateToServerBuilder.scala
[error] Unsupported class file major version 69
[error] Error while emitting MigrateToServerBuilder.scala
[error] Unsupported class file major version 69
[error] Error while emitting MigrateToServerBuilder.scala
[error] assertion failed: ClassBType.info not yet assigned: Ljava/lang/Object;
[error] Error while emitting MigrateToServerBuilder.scala
[error] assertion failed: ClassBType.info not yet assigned: Ljava/lang/Object;
[error] Error while emitting MigrateToServerBuilder.scala

@pjfanning pjfanning marked this pull request as draft September 16, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant