From 60e78ebb8c4767b197da1b06e90f0e4e9edb7798 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Tue, 12 Oct 2004 09:28:42 +0000 Subject: - [MSIL] Removed call to printStackTrace() in o... - [MSIL] Removed call to printStackTrace() in order to compile without modifications for .NET --- test/files/run/bridges.scala | 3 +-- test/files/run/bugs.scala | 4 +--- test/files/run/runtime.scala | 4 +--- 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'test/files') diff --git a/test/files/run/bridges.scala b/test/files/run/bridges.scala index 91fd277f57..ce76ae33b5 100644 --- a/test/files/run/bridges.scala +++ b/test/files/run/bridges.scala @@ -3592,8 +3592,7 @@ object Test { } } catch { case exception => { - System.out.print(name + " raised exception "); - exception.printStackTrace(); + System.out.print(name + " raised exception " + exception); System.out.println(); errors = errors + 1; } diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala index f98146ba46..757c80cee6 100644 --- a/test/files/run/bugs.scala +++ b/test/files/run/bugs.scala @@ -420,9 +420,7 @@ object Test { } catch { case exception => { val name: String = Thread.currentThread().getName(); - System.out.print("Exception in thread \"" + name + "\" "); - exception.printStackTrace(); - //Console.println(exception.StackTrace); // with -target:msil + System.out.print("Exception in thread \"" + name + "\" " + exception); System.out.println(); errors = errors + 1; } diff --git a/test/files/run/runtime.scala b/test/files/run/runtime.scala index e576cbc871..f83f0a4133 100644 --- a/test/files/run/runtime.scala +++ b/test/files/run/runtime.scala @@ -108,9 +108,7 @@ object Test { } catch { case exception => { val name: String = Thread.currentThread().getName(); - System.out.print("Exception in thread \"" + name + "\" "); - exception.printStackTrace(); - //Console.println(exception.StackTrace); // with -target:msil + System.out.print("Exception in thread \"" + name + "\" " + exception); System.out.println(); errors = errors + 1; } -- cgit v1.2.3