Bruno P. Kinoshita created LANG-1476: ----------------------------------------
Summary: Use synchronise on a set created with Collections.synchronizedSet before iterating Key: LANG-1476 URL: https://issues.apache.org/jira/browse/LANG-1476 Project: Commons Lang Issue Type: Bug Components: lang.* Affects Versions: 3.9 Reporter: Bruno P. Kinoshita Assignee: Bruno P. Kinoshita Fix For: 3.10 Placeholder for PR created in GitHub. Link to Java docs: https://docs.oracle.com/javase/9/docs/api/java/util/Collections.html#synchronizedSet-java.util.Set- >It is imperative that the user manually synchronize on the returned collection >when traversing it via >[{{Iterator}}|https://docs.oracle.com/javase/9/docs/api/java/util/Iterator.html], > >[{{Spliterator}}|https://docs.oracle.com/javase/9/docs/api/java/util/Spliterator.html] > or >[{{Stream}}|https://docs.oracle.com/javase/9/docs/api/java/util/stream/Stream.html]: -- This message was sent by Atlassian Jira (v8.3.2#803003)