diff options
Diffstat (limited to 'src/actors')
5 files changed, 8 insertions, 8 deletions
diff --git a/src/actors/scala/actors/Actor.scala b/src/actors/scala/actors/Actor.scala index 0e52e867ca..5062bfa44c 100644 --- a/src/actors/scala/actors/Actor.scala +++ b/src/actors/scala/actors/Actor.scala @@ -543,7 +543,7 @@ trait Actor extends AbstractActor with ReplyReactor with ActorCanReply with Inpu received = Some(TIMEOUT) senders = this :: senders } else - system.error("unhandled timeout") + sys.error("unhandled timeout") } var done = false diff --git a/src/actors/scala/actors/Scheduler.scala b/src/actors/scala/actors/Scheduler.scala index d41d2ea9e8..792eae40a4 100644 --- a/src/actors/scala/actors/Scheduler.scala +++ b/src/actors/scala/actors/Scheduler.scala @@ -45,7 +45,7 @@ object Scheduler extends DelegatingScheduler { if (sched.isInstanceOf[ForkJoinScheduler]) { sched.asInstanceOf[ForkJoinScheduler].snapshot() } else - system.error("scheduler does not implement snapshot") + sys.error("scheduler does not implement snapshot") } /* Only <code>ForkJoinScheduler</code> implements this method. @@ -55,7 +55,7 @@ object Scheduler extends DelegatingScheduler { if (sched.isInstanceOf[ForkJoinScheduler]) { sched.asInstanceOf[ForkJoinScheduler].restart() } else - system.error("scheduler does not implement restart") + sys.error("scheduler does not implement restart") } } diff --git a/src/actors/scala/actors/scheduler/ForkJoinScheduler.scala b/src/actors/scala/actors/scheduler/ForkJoinScheduler.scala index c31026c3e8..ba0f88c668 100644 --- a/src/actors/scala/actors/scheduler/ForkJoinScheduler.scala +++ b/src/actors/scala/actors/scheduler/ForkJoinScheduler.scala @@ -160,9 +160,9 @@ class ForkJoinScheduler(val initCoreSize: Int, val maxSize: Int, daemon: Boolean def restart() { synchronized { if (!snapshoting) - system.error("snapshot has not been invoked") + sys.error("snapshot has not been invoked") else if (isActive) - system.error("scheduler is still active") + sys.error("scheduler is still active") else snapshoting = false diff --git a/src/actors/scala/actors/scheduler/ResizableThreadPoolScheduler.scala b/src/actors/scala/actors/scheduler/ResizableThreadPoolScheduler.scala index 575a2698e5..a317cf0a86 100644 --- a/src/actors/scala/actors/scheduler/ResizableThreadPoolScheduler.scala +++ b/src/actors/scala/actors/scheduler/ResizableThreadPoolScheduler.scala @@ -181,9 +181,9 @@ class ResizableThreadPoolScheduler(protected val terminate: Boolean, def restart() { synchronized { if (!suspending) - system.error("snapshot has not been invoked") + sys.error("snapshot has not been invoked") else if (isActive) - system.error("scheduler is still active") + sys.error("scheduler is still active") else suspending = false diff --git a/src/actors/scala/actors/threadpool/helpers/ThreadHelpers.java b/src/actors/scala/actors/threadpool/helpers/ThreadHelpers.java index 13da20c4d6..9577537f30 100644 --- a/src/actors/scala/actors/threadpool/helpers/ThreadHelpers.java +++ b/src/actors/scala/actors/threadpool/helpers/ThreadHelpers.java @@ -45,7 +45,7 @@ public class ThreadHelpers { /** * Abstraction of the exception handler which receives notifications of - * exceptions occurred possibly in various parts of the system. Exception + * exceptions occurred possibly in various parts of the sys. Exception * handlers present attractive approach to exception handling in multi-threaded * systems, as they can handle exceptions that occurred in different threads. * <p> |