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

Update javax.management ArrayList classes iterator behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • core-svc
    • None

      The classes javax.management.AttributeList, and javax.management.relation.RoleList and UnresolvedRoleList all extend java.util.ArrayList, and do not override the set and add methods of the iterator returned by the listIterator method.

      This may provide a way to make such lists contain objects of incorrect types. The underlying list can be mutated using the iterator's set() or add() methods.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: