Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.3.1, 1.4.0
-
None
Description
The problem might be demonstrated with the following testcase:
test("support for more than 12M items") { val cnt = 12000000 // 12M val map = new OpenHashMap[Int, Int](cnt) for (i <- 0 until cnt) { map(i) = 1 } val numInvalidValues = map.iterator.count(_._2 == 0) assertResult(0)(numInvalidValues) }