summaryrefslogtreecommitdiff
path: root/test/files/run/t3647.check
diff options
context:
space:
mode:
authorRui Gonçalves <ruippeixotog@gmail.com>2015-10-21 21:22:18 +0100
committerRui Gonçalves <ruippeixotog@gmail.com>2015-10-21 21:22:18 +0100
commite7079ca36aef1b74696f50fbdfe11d99273274d7 (patch)
tree9acfd6f8da0a4691d69ad968d15e7f79f9053c7b /test/files/run/t3647.check
parentba173164c700698d9469bf289b7b40cc11b4262d (diff)
downloadscala-e7079ca36aef1b74696f50fbdfe11d99273274d7.tar.gz
scala-e7079ca36aef1b74696f50fbdfe11d99273274d7.tar.bz2
scala-e7079ca36aef1b74696f50fbdfe11d99273274d7.zip
SI-9497 Fix SetLike#clear() default implementation
When dealing with mutable collections, it is not safe to assume iterators will remain consistent when the collection is modified mid-traversal. The bug reported in SI-9497 is very similar to SI-7269, "ConcurrentModificationException when filtering converted Java HashMap". Then, only the `retain` method was fixed. This commit fixes `clear`, which had the same problem.
Diffstat (limited to 'test/files/run/t3647.check')
0 files changed, 0 insertions, 0 deletions