RFR: 8177100: APIs duplicated in JavaDoc [v5]
Nizar Benalla
nbenalla at openjdk.org
Mon May 12 15:42:52 UTC 2025
On Mon, 12 May 2025 14:46:39 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:
>> Please review this patch to fix a bug where a method can be documented multiple times
>> Consider these 4 classes
>>
>> A (interface)
>> / \
>> / \
>> (abstract class) C B ( interface)
>> \ /
>> \ /
>> D (class)
>>
>>
>> Where `A` declares `testA()`, `C` implements it `public final void testA()`, `B` extends `A` but does *not* override it, `D` extends `C` and implements `B`
>>
>> In the generated javadoc, `testA()` is documented twice.
>>
>> 
>>
>> After the patch, `testA()` is only documented once:
>>
>> 
>
> Nizar Benalla has updated the pull request incrementally with one additional commit since the last revision:
>
> rename test to be more accurate and simplify code
I've updated the test as the name was not accurate, and simplified the code in `VisibleMemberTable`
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25123#issuecomment-2873069050
More information about the javadoc-dev
mailing list