Github user sadhen commented on the issue: https://github.com/apache/spark/pull/22264 @srowen Still work in progress. There are three unit test failures in total. The first one is fixed. And this is the cause of the second one: ``` Welcome to Scala 2.11.12 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_112). Type in expressions for evaluation. Or try :help. scala> import collection.mutable.WrappedArray import collection.mutable.WrappedArray scala> new WrappedArray.ofRef(Array(1, 1).map(_.asInstanceOf[AnyRef])) res0: scala.collection.mutable.WrappedArray.ofRef[AnyRef] = WrappedArray(1, 1) scala> new WrappedArray.ofRef(Array(1.0, 1.0).map(_.asInstanceOf[AnyRef])) res1: scala.collection.mutable.WrappedArray.ofRef[AnyRef] = WrappedArray(1.0, 1.0) scala> res0 == res1 res2: Boolean = true ``` ``` scala2.12â¨â¨scala> new WrappedArray.ofRef(Array(1, 1).map(_.asInstanceOf[AnyRef])) res18: scala.collection.mutable.WrappedArray.ofRef[AnyRef] = WrappedArray(1, 1) scala> new WrappedArray.ofRef(Array(1.0, 1.0).map(_.asInstanceOf[AnyRef])) res19: scala.collection.mutable.WrappedArray.ofRef[AnyRef] = WrappedArray(1.0, 1.0) scala> res18.getClass res20: Class[_ <: scala.collection.mutable.WrappedArray.ofRef[AnyRef]] = class scala.collection.mutable.WrappedArray$ofRef scala> res19.getClass res21: Class[_ <: scala.collection.mutable.WrappedArray.ofRef[AnyRef]] = class scala.collection.mutable.WrappedArray$ofRef scala> res18 == res19 res22: Boolean = false ``` A behavior change introduced by https://github.com/scala/scala/pull/5551 .
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org