On Tue, 17 Jun 2025 16:54:15 GMT, Kevin Walls <kev...@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.

Joe asked a question in related CSR. I'm also interested to know the answer. :)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25856#issuecomment-3003393244

Reply via email to