-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
2.13.17 not yet released but nightlies are available to test with.
pekko-actor compile fails with
[info] compiling 196 Scala sources and 27 Java sources to /home/code/pekko/actor/target/scala-2.13/classes ...
[error] /home/code/pekko/actor/src/main/scala-2.13/org/apache/pekko/util/ByteString.scala:924:29: Calls to parameterless method toArray will be easy to mistake for calls to final override def toArray[B >: Byte](implicit arg0: scala.reflect.ClassTag[B]): Array[B], which has a single implicit parameter list.
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=lint-overload, site=org.apache.pekko.util.ByteString
[error] protected[ByteString] def toArray: Array[Byte] = toArray[Byte]
[error] ^
[error] /home/code/pekko/actor/src/main/scala/org/apache/pekko/actor/Address.scala:79:79: method productHash in object MurmurHash3 is deprecated (since 2.13.17): use `caseClassHash` instead
[error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=deprecation, site=org.apache.pekko.actor.Address.hashCode, origin=scala.util.hashing.MurmurHash3.productHash, version=2.13.17
[error] @transient override lazy val hashCode: Int = scala.util.hashing.MurmurHash3.productHash(this)
[error] ^
[error] two errors found
There might be more issues after we fix these.
Scala 2.13.16 does not allow us to compile our code with Java 25 while 2.13.17 does allow us.
He-Pin
Metadata
Metadata
Assignees
Labels
No labels