Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8143561

ListIterator should have defaults for structural modification methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 9
    • 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.

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

              Created:
              Updated: