summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-05-19 12:56:07 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-05-19 12:56:07 +0200
commit0e87b12bcf68d9f52d2dee92ff19d04019641110 (patch)
treed4e55118175122601c4700d98582b49e1d9001fd /test/files
parent8cc18877a6be106e86d6aa5c3d539e86e11280e8 (diff)
downloadscala-0e87b12bcf68d9f52d2dee92ff19d04019641110.tar.gz
scala-0e87b12bcf68d9f52d2dee92ff19d04019641110.tar.bz2
scala-0e87b12bcf68d9f52d2dee92ff19d04019641110.zip
Revert "SI-8601 Test that `null.synchronized` NPEs under -optimize"
This reverts commit dcade51d751b389fb5137040f7e1006b4bc633c6.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/t8601d.flags1
-rw-r--r--test/files/run/t8601d.scala8
2 files changed, 0 insertions, 9 deletions
diff --git a/test/files/run/t8601d.flags b/test/files/run/t8601d.flags
deleted file mode 100644
index 1182725e86..0000000000
--- a/test/files/run/t8601d.flags
+++ /dev/null
@@ -1 +0,0 @@
--optimize \ No newline at end of file
diff --git a/test/files/run/t8601d.scala b/test/files/run/t8601d.scala
deleted file mode 100644
index ac89963d67..0000000000
--- a/test/files/run/t8601d.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-object Test {
- def monitor(x: AnyRef): Unit = {x.synchronized(()); ()}
- def check(x: => Any) = try { x; sys.error("failed to throw NPE") } catch { case _: NullPointerException => }
-
- def main(args: Array[String]) {
- check(monitor(null))
- }
-}