From 5b73e75943dd89dabda84b0fc3a651837c4a2113 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Tue, 21 Apr 2015 14:49:58 +0200 Subject: Remove scala.actors and the actors migration module dependency --- test/files/jvm/future-awaitall-zero.scala | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 test/files/jvm/future-awaitall-zero.scala (limited to 'test/files/jvm/future-awaitall-zero.scala') diff --git a/test/files/jvm/future-awaitall-zero.scala b/test/files/jvm/future-awaitall-zero.scala deleted file mode 100644 index 56f4bab16f..0000000000 --- a/test/files/jvm/future-awaitall-zero.scala +++ /dev/null @@ -1,24 +0,0 @@ - - -@deprecated("Suppress warnings", since="2.11") -object Test { - import scala.actors.Futures._ - import scala.actors.Actor._ - def main(args: Array[String]) { - try { - val ft1 = future { reactWithin(10000) { - case _ => println("FAIL") - } } - - val ft2 = future { reactWithin(20000) { - case _ => println("FAIL") - } } - - val res = awaitAll(0, ft1, ft2) - println("OK") - } catch { - case e: Throwable if !e.isInstanceOf[scala.util.control.ControlThrowable] => - e.printStackTrace() - } - } -} -- cgit v1.2.3