diff options
author | Philipp Haller <hallerp@gmail.com> | 2010-04-22 08:04:12 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2010-04-22 08:04:12 +0000 |
commit | dcbffd4dc50c7e2540fd4770492b86108d3254fc (patch) | |
tree | ced3f0c9081b93fd07ff28bd2fcd7f5d0a436fb3 /test/files/jvm/actor-uncaught-exception.scala | |
parent | 3861a3a42e4347c733a3c15a7cd85fa86d1d1011 (diff) | |
download | scala-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.scala | 1 |
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 |