RFR: 8177100: APIs duplicated in JavaDoc [v7]
Hannes Wallnöfer
hannesw at openjdk.org
Tue Jun 10 14:10:30 UTC 2025
On Tue, 10 Jun 2025 13:53:37 GMT, Chen Liang <liach at openjdk.org> wrote:
> Looks identical to the initial version.
@liach I realized the first version was right after all (see my comment above). We should not document a method as inherited from some interface when it is implemented in the local class or some superclass. So this gets rid of duplicate inherited methods, such as `equals(Object)` in HashMap appearing as inherited [both from class AbstractMap and interface Map][1].
[1]: https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/util/HashMap.html#methods-inherited-from-class-java.util.AbstractMap
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25123#issuecomment-2959409014
More information about the javadoc-dev
mailing list