summaryrefslogtreecommitdiff
path: root/test/files/run/t6969.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-15 00:28:38 -0800
committerPaul Phillips <paulp@improving.org>2013-01-24 17:13:17 -0800
commit0d01cc1c300b718afd1fe69d5030d36d8000e0cd (patch)
tree2cacdd3e70574a4721b6e98fd9540ad0b43b46e1 /test/files/run/t6969.check
parente7ecaa00bbd5387870d0c26df4d8fba128b59c9e (diff)
downloadscala-0d01cc1c300b718afd1fe69d5030d36d8000e0cd.tar.gz
scala-0d01cc1c300b718afd1fe69d5030d36d8000e0cd.tar.bz2
scala-0d01cc1c300b718afd1fe69d5030d36d8000e0cd.zip
SI-6969, mishandling of SoftReferences in method cache.
More interesting to test than it was to fix. The soft reference is now dereferenced once, the locally stored underlying value ascertained to be non-null, and the remainder of the references to the value use the local var. The enclosed test reliably NPEs without this patch.
Diffstat (limited to 'test/files/run/t6969.check')
-rw-r--r--test/files/run/t6969.check1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t6969.check b/test/files/run/t6969.check
new file mode 100644
index 0000000000..78297812c9
--- /dev/null
+++ b/test/files/run/t6969.check
@@ -0,0 +1 @@
+All threads completed.