diff options
| author | Brian Carlstrom <bdc@google.com> | 2012-08-01 13:55:42 -0700 |
|---|---|---|
| committer | Brian Carlstrom <bdc@google.com> | 2012-08-02 12:08:00 -0700 |
| commit | c7a56c94bdea0e20123ae6fba5eca5b8d984c670 (patch) | |
| tree | eae61b4bae1e710dcbb0cc4e4b101c4499422e61 /annotations/generate_annotated_java_files.py | |
| parent | ad6553a5dd980c4740698e6a41c59c1c3ef99c21 (diff) | |
Avoid ConcurrentModificationException on providers
Previously concurrently adding/removing providers in one thread and
doing algorithm lookups on another thread would cause
ConcurrentModificationExceptions such as:
java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:569)
at org.apache.harmony.security.fortress.Services.updateServiceInfo(Services.java:186)
at org.apache.harmony.security.fortress.Services.refresh(Services.java:234)
at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137)
at java.security.KeyFactory.getInstance(KeyFactory.java:81)
Also do some general cleanup and add similar protection on services.
Change-Id: I706c45655924dfccc3383fca57653d0c5b461721
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
