summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions-2.check
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2006-06-20 11:33:58 +0000
committerIulian Dragos <jaguarul@gmail.com>2006-06-20 11:33:58 +0000
commit82492924248408873a734a200ae2b4b1bc71ec75 (patch)
tree93cb01b7125a57939e2475875f4b4638182729f3 /test/files/run/exceptions-2.check
parentddad4e40ef78fc18fb054ac26bc056ed46822224 (diff)
downloadscala-82492924248408873a734a200ae2b4b1bc71ec75.tar.gz
scala-82492924248408873a734a200ae2b4b1bc71ec75.tar.bz2
scala-82492924248408873a734a200ae2b4b1bc71ec75.zip
Fixed bug #632 and updated test file.
Diffstat (limited to 'test/files/run/exceptions-2.check')
-rw-r--r--test/files/run/exceptions-2.check18
1 files changed, 2 insertions, 16 deletions
diff --git a/test/files/run/exceptions-2.check b/test/files/run/exceptions-2.check
index 3a461f1287..bb9c3dcd92 100644
--- a/test/files/run/exceptions-2.check
+++ b/test/files/run/exceptions-2.check
@@ -5,8 +5,8 @@ nested2:
Innermost finally
Outermost finally
mixed:
-Finally!
10
+Finally!
withValue1:
Oh, oh
10
@@ -14,21 +14,7 @@ method2:
10
Exception occurred
method3:
-Exception occurred with stack trace:
-java.lang.NullPointerException
- at Test$.method3(exceptions-2.scala:108)
- at Test$$anonfun$5.apply(exceptions-2.scala:180)
- at Test$$anonfun$5.apply(exceptions-2.scala:180)
- at Test$.execute(exceptions-2.scala:157)
- at Test$.main(exceptions-2.scala:180)
- at Test.main(exceptions-2.scala)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:585)
- at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:27)
- at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:62)
- at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
+Cought an NPE
tryFinallyTry:
Silently ignore exception in finally
valInFinally: