JDK-8361169 : Release Note: AttributeList, RoleList, and UnresolvedRoleList Should Never Accept Other Types of Object
  • Type: Sub-task
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2025-07-01
  • Updated: 2025-07-14
  • Resolved: 2025-07-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26Resolved
Description
The classes `javax.management.AttributeList`, and `javax.management.relation.RoleList` and `UnresolvedRoleList`, have historicallly accepted objects of the wrong type, and only verified types when (and after) the "asList()" method is called. This feature has been removed, and these classes never accept the wrong kind of Object.  Most applications using these classes should not be affected.