git: openjdk/jdk: master: 8359809: AttributeList, RoleList and UnresolvedRoleList should never accept other types of Object

Kevin Walls kevinw at openjdk.org
Thu Jul 10 15:22:27 UTC 2025


Changeset: cbc7090b
Branch: master
Author:    Kevin Walls <kevinw at openjdk.org>
Date:      2025-07-10 15:21:04 +0000
URL:       https://git.openjdk.org/jdk/commit/cbc7090b91f4ce84117a04036028076373ab805e

8359809: AttributeList, RoleList and UnresolvedRoleList should never accept other types of Object

Reviewed-by: sspitsyn

! src/java.management/share/classes/javax/management/AttributeList.java
! src/java.management/share/classes/javax/management/relation/RoleList.java
! src/java.management/share/classes/javax/management/relation/RoleUnresolvedList.java
! test/jdk/javax/management/MBeanServer/AttributeListTypeSafeTest.java
! test/jdk/javax/management/generified/ListTypeCheckTest.java



More information about the jdk-changes mailing list