diff options
author | mihaylov <mihaylov@epfl.ch> | 2004-10-12 09:28:42 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2004-10-12 09:28:42 +0000 |
commit | 60e78ebb8c4767b197da1b06e90f0e4e9edb7798 (patch) | |
tree | dd5d1c1e67c1cd6ecd054a9d0deb191d17d60d08 /test/files/run/bugs.scala | |
parent | 5b80c0ad5d9006856780eaca6aee40c738fbe196 (diff) | |
download | scala-60e78ebb8c4767b197da1b06e90f0e4e9edb7798.tar.gz scala-60e78ebb8c4767b197da1b06e90f0e4e9edb7798.tar.bz2 scala-60e78ebb8c4767b197da1b06e90f0e4e9edb7798.zip |
- [MSIL] Removed call to printStackTrace() in o...
- [MSIL] Removed call to printStackTrace() in order to compile without
modifications for .NET
Diffstat (limited to 'test/files/run/bugs.scala')
-rw-r--r-- | test/files/run/bugs.scala | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |