Update javax.management ArrayList classes iterator behaviour

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: