summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-uncaught-exception.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2010-04-22 08:04:12 +0000
committerPhilipp Haller <hallerp@gmail.com>2010-04-22 08:04:12 +0000
commitdcbffd4dc50c7e2540fd4770492b86108d3254fc (patch)
treeced3f0c9081b93fd07ff28bd2fcd7f5d0a436fb3 /test/files/jvm/actor-uncaught-exception.scala
parent3861a3a42e4347c733a3c15a7cd85fa86d1d1011 (diff)
downloadscala-dcbffd4dc50c7e2540fd4770492b86108d3254fc.tar.gz
scala-dcbffd4dc50c7e2540fd4770492b86108d3254fc.tar.bz2
scala-dcbffd4dc50c7e2540fd4770492b86108d3254fc.zip
Reactor.exceptionHandler is defined on Throwabl...
Reactor.exceptionHandler is defined on Throwable instead of Exception. Fixes potential problem with visibility of changes to a field. Review by plocinic.
Diffstat (limited to 'test/files/jvm/actor-uncaught-exception.scala')
-rw-r--r--test/files/jvm/actor-uncaught-exception.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/jvm/actor-uncaught-exception.scala b/test/files/jvm/actor-uncaught-exception.scala
index 9dbd36dd82..882362272d 100644
--- a/test/files/jvm/actor-uncaught-exception.scala
+++ b/test/files/jvm/actor-uncaught-exception.scala
@@ -43,6 +43,7 @@ object Test {
Actor.loop {
react {
case Exit(actor, reason) =>
+ println("OK")
if (actor == StartError)
MessageError ! 'ping
else