From 040a4e6f5856195d4ab0f8e5f24d49698a138888 Mon Sep 17 00:00:00 2001 From: Rex Kerr Date: Thu, 13 Feb 2014 16:03:50 -0800 Subject: SI-6908 FlatHashTable and things that depend on it can't store nulls Fixed ParFlatHashTable to use entryToElem which correctly converts sentinels to nulls. --- test/files/run/t6908.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/run/t6908.scala (limited to 'test') 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) ) + } +} -- cgit v1.2.3