ListIterator should have defaults for structural modification methods

XMLWordPrintable

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

      Iterator.remove was updated to become a default method, whose default implementation throws UnsupportedOperationException.

      It was an oversight that ListIterator methods were not updated at the same time.

      The methods ListIterator.remove/set/add should be updated to become default methods, whose default implementation throws UnsupportedOperationException.

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

              Created:
              Updated: