RFR: 8177100: APIs duplicated in JavaDoc [v3]
    Nizar Benalla 
    nbenalla at openjdk.org
       
    Fri May  9 13:28:35 UTC 2025
    
    
  
> 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:
  fix comment
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/25123/files
  - new: https://git.openjdk.org/jdk/pull/25123/files/41578ad2..8d300463
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25123&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25123&range=01-02
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25123.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25123/head:pull/25123
PR: https://git.openjdk.org/jdk/pull/25123
    
    
More information about the javadoc-dev
mailing list