Skip to content

Commit eb60e75

Browse files
committed
Merge commit 'd99107e94b12fa9715f3c5f213d633b410c64699' into 2.13.x
2 parents be17e35 + d99107e commit eb60e75

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

build.sbt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ lazy val root = (project in file(".")).
4646

4747
OsgiKeys.privatePackage := List("scala.concurrent.java8.*"),
4848

49-
libraryDependencies += "junit" % "junit" % "4.11" % "test",
49+
libraryDependencies += "junit" % "junit" % "4.12" % "test",
5050

51-
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.4" % "test",
51+
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.8.1" % "test",
5252

53-
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
53+
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
5454

5555
mimaPreviousVersion := None,
5656

@@ -95,12 +95,7 @@ lazy val root = (project in file(".")).
9595
sys.error("Java 8 or higher is required for this project.")
9696
},
9797

98-
publishArtifact in packageDoc := !disableDocs,
99-
100-
sources in (Compile, doc) := {
101-
val orig = (sources in (Compile, doc)).value
102-
orig.filterNot(_.getName.endsWith(".java")) // raw types not cooked by scaladoc: https://issues.scala-lang.org/browse/SI-8449
103-
}
98+
publishArtifact in packageDoc := !disableDocs
10499
).
105100
settings(
106101
(inConfig(JavaDoc)(Defaults.configSettings) ++ (if (disableDocs) Nil else Seq(

project/plugins.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
scalacOptions += "-Xfatal-warnings"
1+
scalacOptions ++= (sys.props("java.specification.version") match {
2+
// work around weird dbuild thing for JDK 12 community build; see
3+
// https://github.com/scala/community-builds/issues/862#issuecomment-464227096
4+
case "12" => Seq()
5+
case _ => Seq("-Xfatal-warnings")
6+
})
27

38
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.14")

src/main/scala/scala/concurrent/java8/FutureConvertersImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import scala.concurrent.impl.Promise.DefaultPromise
1111
import scala.util.{ Try, Success, Failure }
1212
import java.util.function.{ BiConsumer, Function JF, Consumer, BiFunction }
1313

14-
// TODO: make thie private[scala] when genjavadoc allows for that.
14+
// TODO: make this private[scala] when genjavadoc allows for that.
1515
object FuturesConvertersImpl {
1616
def InternalCallbackExecutor = Future.InternalCallbackExecutor
1717

0 commit comments

Comments
 (0)