Merge "Track libcore commit da61c6a1478cd1a14f3e654460292228f4f15e88"
diff --git a/api/current.txt b/api/current.txt
index 6b68cb2..30a4a97 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -57144,34 +57144,31 @@
ctor public CopyOnWriteArrayList();
ctor public CopyOnWriteArrayList(java.util.Collection<? extends E>);
ctor public CopyOnWriteArrayList(E[]);
- method public boolean add(E);
- method public void add(int, E);
- method public boolean addAll(java.util.Collection<? extends E>);
- method public boolean addAll(int, java.util.Collection<? extends E>);
- method public int addAllAbsent(java.util.Collection<? extends E>);
- method public boolean addIfAbsent(E);
- method public void clear();
+ method public synchronized boolean add(E);
+ method public synchronized void add(int, E);
+ method public synchronized boolean addAll(java.util.Collection<? extends E>);
+ method public synchronized boolean addAll(int, java.util.Collection<? extends E>);
+ method public synchronized int addAllAbsent(java.util.Collection<? extends E>);
+ method public synchronized boolean addIfAbsent(E);
+ method public synchronized void clear();
method public java.lang.Object clone();
method public boolean contains(java.lang.Object);
method public boolean containsAll(java.util.Collection<?>);
- method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
- method public int indexOf(java.lang.Object);
method public int indexOf(E, int);
+ method public int indexOf(java.lang.Object);
method public boolean isEmpty();
method public java.util.Iterator<E> iterator();
- method public int lastIndexOf(java.lang.Object);
method public int lastIndexOf(E, int);
- method public java.util.ListIterator<E> listIterator();
+ method public int lastIndexOf(java.lang.Object);
method public java.util.ListIterator<E> listIterator(int);
- method public E remove(int);
- method public boolean remove(java.lang.Object);
- method public boolean removeAll(java.util.Collection<?>);
- method public void replaceAll(java.util.function.UnaryOperator<E>);
- method public boolean retainAll(java.util.Collection<?>);
- method public E set(int, E);
+ method public java.util.ListIterator<E> listIterator();
+ method public synchronized E remove(int);
+ method public synchronized boolean remove(java.lang.Object);
+ method public synchronized boolean removeAll(java.util.Collection<?>);
+ method public synchronized boolean retainAll(java.util.Collection<?>);
+ method public synchronized E set(int, E);
method public int size();
- method public void sort(java.util.Comparator<? super E>);
method public java.util.List<E> subList(int, int);
method public java.lang.Object[] toArray();
method public T[] toArray(T[]);
diff --git a/api/system-current.txt b/api/system-current.txt
index e340e23..6adca2b 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -59762,34 +59762,31 @@
ctor public CopyOnWriteArrayList();
ctor public CopyOnWriteArrayList(java.util.Collection<? extends E>);
ctor public CopyOnWriteArrayList(E[]);
- method public boolean add(E);
- method public void add(int, E);
- method public boolean addAll(java.util.Collection<? extends E>);
- method public boolean addAll(int, java.util.Collection<? extends E>);
- method public int addAllAbsent(java.util.Collection<? extends E>);
- method public boolean addIfAbsent(E);
- method public void clear();
+ method public synchronized boolean add(E);
+ method public synchronized void add(int, E);
+ method public synchronized boolean addAll(java.util.Collection<? extends E>);
+ method public synchronized boolean addAll(int, java.util.Collection<? extends E>);
+ method public synchronized int addAllAbsent(java.util.Collection<? extends E>);
+ method public synchronized boolean addIfAbsent(E);
+ method public synchronized void clear();
method public java.lang.Object clone();
method public boolean contains(java.lang.Object);
method public boolean containsAll(java.util.Collection<?>);
- method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
- method public int indexOf(java.lang.Object);
method public int indexOf(E, int);
+ method public int indexOf(java.lang.Object);
method public boolean isEmpty();
method public java.util.Iterator<E> iterator();
- method public int lastIndexOf(java.lang.Object);
method public int lastIndexOf(E, int);
- method public java.util.ListIterator<E> listIterator();
+ method public int lastIndexOf(java.lang.Object);
method public java.util.ListIterator<E> listIterator(int);
- method public E remove(int);
- method public boolean remove(java.lang.Object);
- method public boolean removeAll(java.util.Collection<?>);
- method public void replaceAll(java.util.function.UnaryOperator<E>);
- method public boolean retainAll(java.util.Collection<?>);
- method public E set(int, E);
+ method public java.util.ListIterator<E> listIterator();
+ method public synchronized E remove(int);
+ method public synchronized boolean remove(java.lang.Object);
+ method public synchronized boolean removeAll(java.util.Collection<?>);
+ method public synchronized boolean retainAll(java.util.Collection<?>);
+ method public synchronized E set(int, E);
method public int size();
- method public void sort(java.util.Comparator<? super E>);
method public java.util.List<E> subList(int, int);
method public java.lang.Object[] toArray();
method public T[] toArray(T[]);