summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-uncaught-exception.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/actor-uncaught-exception.scala')
-rw-r--r--test/files/jvm/actor-uncaught-exception.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/jvm/actor-uncaught-exception.scala b/test/files/jvm/actor-uncaught-exception.scala
index 5ae66de640..5285b7519f 100644
--- a/test/files/jvm/actor-uncaught-exception.scala
+++ b/test/files/jvm/actor-uncaught-exception.scala
@@ -1,10 +1,11 @@
+@deprecated("Suppress warnings", since="2.11")
+object Test {
import scala.actors.{Actor, Exit}
class MyException(msg: String) extends Exception(msg) {
override def fillInStackTrace() = this
}
-object Test {
case object StartError extends Actor {
def act() {