summaryrefslogtreecommitdiff
path: root/test/files/jvm/reactor-exceptionOnSend.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/reactor-exceptionOnSend.scala')
-rw-r--r--test/files/jvm/reactor-exceptionOnSend.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/jvm/reactor-exceptionOnSend.scala b/test/files/jvm/reactor-exceptionOnSend.scala
index 3d9a042131..6d79fc9d13 100644
--- a/test/files/jvm/reactor-exceptionOnSend.scala
+++ b/test/files/jvm/reactor-exceptionOnSend.scala
@@ -1,3 +1,7 @@
+
+
+@deprecated("Suppress warnings", since="2.11")
+object Test {
import scala.actors.Reactor
import scala.actors.Actor._
@@ -48,7 +52,6 @@ object B extends Reactor[Any] {
}
}
-object Test {
def main(args: Array[String]) {
B.start()
}