RFR: 8177100: APIs duplicated in JavaDoc [v8]

Nizar Benalla nbenalla at openjdk.org
Tue Jul 1 15:21:42 UTC 2025


On Tue, 1 Jul 2025 15:14:05 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

>> Nizar Benalla has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 17 additional commits since the last revision:
>> 
>>  - review feedback: add positive test
>>  - Merge branch 'master' into duplicate-APIs
>>  - Merge branch 'master' into duplicate-APIs
>>  - Feedback from @hns -  Expand test with new test cases
>>  - Merge branch 'master' into duplicate-APIs
>>  - revert back to simple earlier fix
>>  - revert back to master
>>  - Merge branch 'master' into duplicate-APIs
>>  - Merge branch 'master' into duplicate-APIs
>>  - rename test to be more accurate and simplify code
>>  - ... and 7 more: https://git.openjdk.org/jdk/compare/c984557a...00e7adcc
>
> test/langtools/jdk/javadoc/doclet/testDuplicateMethodsWarn/TestDuplicateMethods.java line 219:
> 
>> 217:                 <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">V</span>()</div>
>> 218:                 </div>
>> 219:                 """);
> 
> That's the doc for the constructor. I was looking for method `testJ` inherited from abstract class `PubJ`.

I believe `testJ` does not have it's own doc in `V.html`. It only appears in the "methods inherited from class J" section

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25123#discussion_r2177883731


More information about the javadoc-dev mailing list