commit | 61e99b166906954cf2686381968a37a3ab32bde7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Dec 04 18:47:00 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Dec 04 18:56:12 2012 -0800 |
tree | 1880dc4b160f420ee2c9f304d3789aa034941198 | |
parent | ee09ab684f20a04a525b42e24209d598635127b2 [diff] |
Fix AbstractCollection.toArray. ConcurrentHashMap.values().toArray() could throw if the map was being modified. WeakHashMap had a workaround, but AbstractCollection is supposed to just do the right thing. Bug: http://code.google.com/p/android/issues/detail?id=36519 Bug: https://issues.apache.org/jira/browse/HARMONY-6681 Change-Id: I749fe615edbea6f8285bfe6804c972e8bdcf2530