File tree 10 files changed +168
-0
lines changed
stdlib-bootstrapped/src/scala/runtime/java8
10 files changed +168
-0
lines changed Original file line number Diff line number Diff line change @@ -864,6 +864,9 @@ object Build {
864
864
} (Set (scalaLibrarySourcesJar)).toSeq
865
865
}.taskValue,
866
866
sources in Compile ~= (_.filterNot(file =>
867
+ // Ported filles from https://github.com/scala/scala/pull/9307
868
+ // TODO: Remove this and `stdlib-bootstrapped/src` files when the library is updated above 2.13.3
869
+ file.getPath.contains(" scala-library-src/scala/runtime/java8/JFunction0$mc" ) ||
867
870
// sources from https://github.com/scala/scala/tree/2.13.x/src/library-aux
868
871
file.getPath.endsWith(" scala-library-src/scala/Any.scala" ) ||
869
872
file.getPath.endsWith(" scala-library-src/scala/AnyVal.scala" ) ||
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcB$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcB$sp (): Byte
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToByte(apply$mcB$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcC$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcC$sp (): Char
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToCharacter(apply$mcC$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcD$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcD$sp (): Double
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToDouble(apply$mcD$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcF$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcF$sp (): Float
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToFloat(apply$mcF$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcI$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcI$sp (): Int
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToInteger(apply$mcI$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcJ$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcJ$sp (): Long
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToLong(apply$mcJ$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcS$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcS$sp (): Short
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToShort(apply$mcS$sp())
18
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcV$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcV$sp (): Unit
17
+ override def apply (): Any = {
18
+ apply$mcV$sp()
19
+ scala.runtime.BoxedUnit .UNIT
20
+ }
21
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Scala (https://www.scala-lang.org)
3
+ *
4
+ * Copyright EPFL and Lightbend, Inc.
5
+ *
6
+ * Licensed under Apache License 2.0
7
+ * (http://www.apache.org/licenses/LICENSE-2.0).
8
+ *
9
+ * See the NOTICE file distributed with this work for
10
+ * additional information regarding copyright ownership.
11
+ */
12
+
13
+ package scala .runtime .java8
14
+
15
+ @ FunctionalInterface trait JFunction0$mcZ$sp extends Function0 [Any ] with Serializable {
16
+ def apply$mcZ$sp (): Boolean
17
+ override def apply (): Any = scala.runtime.BoxesRunTime .boxToBoolean(apply$mcZ$sp())
18
+ }
You can’t perform that action at this time.
0 commit comments