RFR: 8359809: AttributeList, RoleList and UnresolvedRoleList should never accept other types of Object [v5]
Kevin Walls
kevinw at openjdk.org
Wed Jul 9 13:00:48 UTC 2025
On Tue, 1 Jul 2025 08:52:56 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
>> The classes javax.management.AttributeList, and javax.management.relation.RoleList and UnresolvedRoleList, have a historical feature where they accept objects of the wrong type, and only check for wrong objects when the "asList()" method is called.
>>
>> This feature should be removed, and these classes should never accept the wrong kind of Object.
>
> Kevin Walls has updated the pull request incrementally with two additional commits since the last revision:
>
> - Further doc update
> - Test udpate (listIterator)
CSR is approved, will need to get re-review or additional review 8-)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25856#issuecomment-3052582311
More information about the serviceability-dev
mailing list