summaryrefslogtreecommitdiff
path: root/test/files/jvm/t7146.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2015-07-14 15:00:49 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-07-15 08:25:41 -0700
commitfa8012d28687986902ce1255a19f9f49affb3bca (patch)
treeed79f2e76df3b7df1634dba252627260d4815a55 /test/files/jvm/t7146.check
parenteda41a253ee004318262ce1a12c4f44a45aec229 (diff)
downloadscala-fa8012d28687986902ce1255a19f9f49affb3bca.tar.gz
scala-fa8012d28687986902ce1255a19f9f49affb3bca.tar.bz2
scala-fa8012d28687986902ce1255a19f9f49affb3bca.zip
Remove our fork of forkjoin. Java 8 bundles it.
Provide deprecated compatibility stubs for the types and static members, which forward as follows: ``` scala.concurrent.forkjoin.ForkJoinPool => java.util.concurrent.ForkJoinPool scala.concurrent.forkjoin.ForkJoinTask => java.util.concurrent.ForkJoinTask scala.concurrent.forkjoin.ForkJoinWorkerThread => java.util.concurrent.ForkJoinWorkerThread scala.concurrent.forkjoin.LinkedTransferQueue => java.util.concurrent.LinkedTransferQueue scala.concurrent.forkjoin.RecursiveAction => java.util.concurrent.RecursiveAction scala.concurrent.forkjoin.RecursiveTask => java.util.concurrent.RecursiveTask scala.concurrent.forkjoin.ThreadLocalRandom => java.util.concurrent.ThreadLocalRandom ``` To prepare for Java 9, the Scala library does not itself use `sun.misc.Unsafe`. However, for now, it provide a convenience accessor for it via `scala.concurrent.util.Unsafe`. This (deprecated) class will be removed as soon as the eco-system drops its use (akka-actor, I'm looking at you).
Diffstat (limited to 'test/files/jvm/t7146.check')
-rw-r--r--test/files/jvm/t7146.check7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/files/jvm/t7146.check b/test/files/jvm/t7146.check
index 7c76040205..b2c6e444f7 100644
--- a/test/files/jvm/t7146.check
+++ b/test/files/jvm/t7146.check
@@ -1,5 +1,4 @@
-should be scala.concurrent.impl.ExecutionContextImpl == true
-should be scala.concurrent.forkjoin.ForkJoinPool == true
+ExecutionContext.global is a scala.concurrent.impl.ExecutionContextImpl.
should have non-null UncaughtExceptionHandler == true
-should be a scala.concurrent.impl.ExecutionContextImpl UncaughtExceptionHandler == true
-should just print out on uncaught == true
+ExecutionContext.global.executor.getUncaughtExceptionHandler is a scala.concurrent.impl.ExecutionContextImpl.
+should just print out on uncaught: true