RFR: 8177100: APIs duplicated in JavaDoc [v2]
    Hannes Wallnöfer 
    hannesw at openjdk.org
       
    Fri May  9 12:51:52 UTC 2025
    
    
  
On Fri, 9 May 2025 11:39:44 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:
> 
>   simplify check
There's a problem with character encoding in this patch, please do not integrate: 
 /Users/runner/work/jdk/jdk/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/VisibleMemberTable.java:681: error: unmappable character (0x80) for encoding ascii
        // Multiple-Inheritance: No Contention. In Java???s method resolution,
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25123#issuecomment-2866421010
    
    
More information about the javadoc-dev
mailing list