RFR: 8300517: Refactor VisibleMemberTable (method members) [v2]

Pavel Rappo prappo at openjdk.org
Mon Mar 13 17:41:35 UTC 2023


On Thu, 9 Mar 2023 20:01:02 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Should this be something different, such as a Set or a multi-map?

There's a problem with that code comment. I think it was originally destined for `VisibleMemberTable.allSuperinterfaces`, but somehow ended up on the wrong field. Thanks for noticing that.

As for more appropriate types: yes, we could use `Set`, but for that we would need to override `equals` and `hashCode` for `VisibleMemberTable`.

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

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


More information about the javadoc-dev mailing list