tag | 20ef012c9f26a221bf5817c977000db7e52d6886 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Jun 04 10:25:17 2018 -0700 |
object | ae369e1738f81cbcf6118adac03ec0e8bcbb8400 |
Android 8.1.0 release 31
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