summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorRex Kerr <ichoran@gmail.com>2014-02-13 16:03:50 -0800
committerRex Kerr <ichoran@gmail.com>2014-02-13 16:03:50 -0800
commit040a4e6f5856195d4ab0f8e5f24d49698a138888 (patch)
treec1362799343a91086c67efd32b4afa581ca5bcb4 /test/files
parentc83e01d47d941265fa5415c0f29a884c904fdfa0 (diff)
downloadscala-040a4e6f5856195d4ab0f8e5f24d49698a138888.tar.gz
scala-040a4e6f5856195d4ab0f8e5f24d49698a138888.tar.bz2
scala-040a4e6f5856195d4ab0f8e5f24d49698a138888.zip
SI-6908 FlatHashTable and things that depend on it can't store nulls
Fixed ParFlatHashTable to use entryToElem which correctly converts sentinels to nulls.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/t6908.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t6908.scala b/test/files/run/t6908.scala
new file mode 100644
index 0000000000..a641de96b9
--- /dev/null
+++ b/test/files/run/t6908.scala
@@ -0,0 +1,6 @@
+object Test {
+ def main(args: Array[String]) {
+ val set = collection.mutable.Set("1", null, "3").par
+ assert( set exists (_ eq null) )
+ }
+}