summaryrefslogtreecommitdiff
path: root/test/files/run/runtime.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/runtime.scala')
-rw-r--r--test/files/run/runtime.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/runtime.scala b/test/files/run/runtime.scala
index a2ac204e8a..89348b294d 100644
--- a/test/files/run/runtime.scala
+++ b/test/files/run/runtime.scala
@@ -171,7 +171,7 @@ object Test {
try {
test;
} catch {
- case exception => {
+ case exception: Throwable => {
//val name: String = Thread.currentThread().getName();
Console.print("Exception in thread \"" + name + "\" " + exception);
Console.println;