List list = Collections.synchronizedList(new ArrayList()); synchronized (list) { list.add(\"message\"); }
Is the bl
Read this Oracle Doc
It says "It is imperative that the user manually synchronize on the returned list when iterating over it"