tag | 8dfe943b26527aac288782bf266b6e5875f99371 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Aug 13 16:53:59 2021 -0700 |
object | ae369e1738f81cbcf6118adac03ec0e8bcbb8400 |
Android CTS 8.1 Release 24 (7550654)
commit | ae369e1738f81cbcf6118adac03ec0e8bcbb8400 | [log] [tgz] |
---|---|---|
author | Kalle Raita <kraita@google.com> | Sat Apr 15 22:30:36 2017 -0700 |
committer | Kalle Raita <kraita@google.com> | Mon Apr 17 09:15:23 2017 -0700 |
tree | 669a2c6610ec6eea6bfb5ff2ef686c5ff6be244c | |
parent | 8bc2748f2850c88ab6b86c6ceed1ce65bed5ee16 [diff] |
Clone System properties before iterating Iterating over the live set retrieved from System.getProperties() can cause trouble as any modification to the System properties during iteration here will trigger concurrent modification exception. It's safer to first clone the live set and iterate over the clone. Bug: 36820084 Test: 40000 iterations of CTS unit tests Change-Id: I647a6cc8ab9d3a51204e635bfd3250c035a77e68