-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
None
-
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.
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.
- relates to
-
JDK-8359809 AttributeList, RoleList and UnresolvedRoleList should never accept other types of Object
-
- Open
-