Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-365

Add ConcurrentModificationException support to iterators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.11
    • 1.2.12
    • None
    • None

    Description

      As explained in the user guide [1], the behavior of iterators returned by methods such as OMContainer#getChildren() slightly changed in Axiom 1.2.10 (see AXIOM-333). This may cause subtle issues (such as AXIS2-5071) which are difficult to detect. The Iterator implementations should be improved such that a ConcurrentModificationException is thrown if the current node is removed, exactly as the iterators of the Java 2 collection framework (java.util) do.

      [1] http://ws.apache.org/axiom/userguide/ch04.html#iterator-changes

      Attachments

        Issue Links

          Activity

            People

              veithen Andreas Veithen
              veithen Andreas Veithen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: