Specification of Collections.synchronized* need to state traversal constraints

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      The Collections.synchronizedCollection states the traversal constraints for Iterator/Spliterator/Stream:

           * It is imperative that the user manually synchronize on the returned
           * collection when traversing it via {@link Iterator}, {@link Spliterator}
           * or {@link Stream}:

      The other synchronized* methods need to be updated to state the same.

            Assignee:
            Paul Sandoz
            Reporter:
            Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: