You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide compatibility with current Scala 2.12.x (close to RC1)
- Add the required `override` modifiers to trait methods that now
extend default methods of Java interfaces.
- Add casts in some of these methods because the Scala primitive types
are not compatible at the type level with the (now inherited) Java
boxed types.
- Use the boxed JFunction types in BoxingTest because the generic ones
do not exist anymore.
- Tests in LambdaTest need to be commented out because usage from Java
changed significantly after scala/scala#5298
but we can still cross-build the actual library against 2.11 and
2.12.0-M5. At some point we should consider branching.
/** A `DoubleStepper` combines the functionality of a Java `PrimitiveIterator`, a Java `Spliterator`, and a `Stepper`, all specialized for `Double` values. */
269
269
traitDoubleStepperextendsStepper[Double] with java.util.PrimitiveIterator.OfDoublewithSpliterator.OfDoublewithStepperLike[Double, DoubleStepper] {
@@ -283,12 +283,12 @@ trait DoubleStepper extends Stepper[Double] with java.util.PrimitiveIterator.OfD
283
283
284
284
/** An `IntStepper` combines the functionality of a Java `PrimitiveIterator`, a Java `Spliterator`, and a `Stepper`, all specialized for `Int` values. */
285
285
traitIntStepperextendsStepper[Int] with java.util.PrimitiveIterator.OfIntwithSpliterator.OfIntwithStepperLike[Int, IntStepper] {
/** A `LongStepper` combines the functionality of a Java `PrimitiveIterator`, a Java `Spliterator`, and a `Stepper`, all specialized for `Long` values. */
301
301
traitLongStepperextendsStepper[Long] with java.util.PrimitiveIterator.OfLongwithSpliterator.OfLongwithStepperLike[Long, LongStepper] {
0 commit comments