diff options
author | Rex Kerr <ichoran@gmail.com> | 2014-02-13 16:03:50 -0800 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2014-02-13 16:03:50 -0800 |
commit | 040a4e6f5856195d4ab0f8e5f24d49698a138888 (patch) | |
tree | c1362799343a91086c67efd32b4afa581ca5bcb4 /test | |
parent | c83e01d47d941265fa5415c0f29a884c904fdfa0 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/t6908.scala | 6 |
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) ) + } +} |