aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNthPortal <nthportal@gmail.com>2018-03-13 22:36:31 -0400
committerNthPortal <nthportal@gmail.com>2018-03-14 05:24:46 -0400
commit1a7972ff87d6bd0ab30cc2a98cdd8f94cb9239f9 (patch)
tree2407ed21ed6ace8ae9658d90bdcc91a91da97b3e /src
parent7d5ebe62336ab99a5988d4ef472fd486ec6cbe49 (diff)
downloadscala-async-1a7972ff87d6bd0ab30cc2a98cdd8f94cb9239f9.tar.gz
scala-async-1a7972ff87d6bd0ab30cc2a98cdd8f94cb9239f9.tar.bz2
scala-async-1a7972ff87d6bd0ab30cc2a98cdd8f94cb9239f9.zip
Remove use of scala.concurrent.forkjoin
Remove use of scala.concurrent.forkjoin. Remove support for JDK 6.
Diffstat (limited to 'src')
-rw-r--r--src/test/scala/scala/async/run/futures/FutureSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/scala/async/run/futures/FutureSpec.scala b/src/test/scala/scala/async/run/futures/FutureSpec.scala
index 3f3f726..eb57ff5 100644
--- a/src/test/scala/scala/async/run/futures/FutureSpec.scala
+++ b/src/test/scala/scala/async/run/futures/FutureSpec.scala
@@ -35,7 +35,7 @@ class FutureSpec {
@Test def `A future with custom ExecutionContext should handle Throwables`() {
val ms = new mutable.HashSet[Throwable] with mutable.SynchronizedSet[Throwable]
- implicit val ec = scala.concurrent.ExecutionContext.fromExecutor(new scala.concurrent.forkjoin.ForkJoinPool(), {
+ implicit val ec = scala.concurrent.ExecutionContext.fromExecutor(new java.util.concurrent.ForkJoinPool(), {
t =>
ms += t
})