summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2019-05-13 14:19:00 +0800
committerjunyulai <junyulai@google.com>2019-05-13 14:48:41 +0800
commitcf43dbdbc69e5cb36ba874d21511a76240069abc (patch)
tree9e22a377faef4373aa90696821c4a476b42b4e92 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentce5ecd93044754cafcdf6ca5e1348527ad57dcb2 (diff)
Fix concurrent modification exception in KeepaliveTracker
In aosp/951200, the clean up function delete the item in the hash map that holds the record while iterating it, where the list used to iterate the records is backed by the hash map, so changes to the map are reflected in the list and caused the concurrent modification exception. Bug: 132341736 Test: 1. atest com.android.server.ConnectivityServiceTest \ #testNattSocketKeepalives --generate-new-metrics 300 2. atest FrameworksNetTests --generate-new-metrics 10 Change-Id: I0481a469ee23231e5f0ab738a06b5e09f6cdb680
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions