Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a588c883 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[util] Improve ArrayMap concurrent exception" into main

parents e2e048ae 39c52ce5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ public final class ArrayMap<K, V> implements Map<K, V> {
            return ContainerHelpers.binarySearch(hashes, N, hash);
        } catch (ArrayIndexOutOfBoundsException e) {
            if (CONCURRENT_MODIFICATION_EXCEPTIONS) {
                throw new ConcurrentModificationException();
                throw new ConcurrentModificationException(e);
            } else {
                throw e; // the cache is poisoned at this point, there's not much we can do
            }