> 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 with a new target base due to a merge 
or a rebase. The incremental webrev excludes the unrelated changes brought in 
by the merge/rebase. The pull request contains three additional commits since 
the last revision:

 - fewer checkTypeSafe calls in RoleList and RoleUnresolvedList
 - Merge remote-tracking branch 'upstream/master' into 
8359809_AttributeList_stricter
 - test/jdk/javax/management/generified/ListTypeCheckTest.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25856/files
  - new: https://git.openjdk.org/jdk/pull/25856/files/50904f10..afb05434

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25856&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25856&range=00-01

  Stats: 9942 lines in 385 files changed: 3586 ins; 3841 del; 2515 mod
  Patch: https://git.openjdk.org/jdk/pull/25856.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25856/head:pull/25856

PR: https://git.openjdk.org/jdk/pull/25856

Reply via email to