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