summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-11-22 17:31:20 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-11-22 17:31:20 -0800
commit2f7396d97f99f4ed2817566f36416e16b10b7ffc (patch)
treeb3eeebb2d9f83d635d6223e3ebcb0d94dae76f87 /test
parent112ae862e0530c4e1148c2e67997e4c242c566bd (diff)
parent64603653f82082431941cb29ad317b669822f28e (diff)
downloadscala-2f7396d97f99f4ed2817566f36416e16b10b7ffc.tar.gz
scala-2f7396d97f99f4ed2817566f36416e16b10b7ffc.tar.bz2
scala-2f7396d97f99f4ed2817566f36416e16b10b7ffc.zip
Merge pull request #3182 from soc/SI-7999
s.u.c.NonFatal: StackOverflowError is fatal
Diffstat (limited to 'test')
-rw-r--r--test/files/jvm/non-fatal-tests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/non-fatal-tests.scala b/test/files/jvm/non-fatal-tests.scala
index 791b1d3100..1ff7ee516e 100644
--- a/test/files/jvm/non-fatal-tests.scala
+++ b/test/files/jvm/non-fatal-tests.scala
@@ -4,8 +4,7 @@ trait NonFatalTests {
//NonFatals
val nonFatals: Seq[Throwable] =
- Seq(new StackOverflowError,
- new RuntimeException,
+ Seq(new RuntimeException,
new Exception,
new Throwable,
new NotImplementedError)
@@ -13,6 +12,7 @@ trait NonFatalTests {
//Fatals
val fatals: Seq[Throwable] =
Seq(new InterruptedException,
+ new StackOverflowError,
new OutOfMemoryError,
new LinkageError,
new VirtualMachineError {},