RFR: 8285368: Overhaul doc-comment inheritance [v2]
Jonathan Gibbons
jjg at openjdk.org
Wed Jun 7 21:43:50 UTC 2023
On Wed, 7 Jun 2023 16:02:40 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
>> Please review this long-awaited change to documentation inheritance.
>>
>> This change improves "methods comment algorithm" and introduces directed documentation inheritance. While "methods comment algorithm" -- automatic search for inheritable documentation -- has been improved, it still cannot read an author's mind so as to always find the documentation they intended. From now on, an author can state their intention, by providing an FQN of the superclass or superinterface from which to inherit documentation:
>>
>> {@inheritDoc S}
>>
>> Which is exactly what I did to counterbalance some of the JDK API Documentation changes caused by the change to "methods comment algorithm".
>
> Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:
>
> feedback: make warning less scary
Great work in a difficult area overflowing with Technical Debt.
I've made various (optional) suggestions, I'll approve for now, but will look again if you want to make ore changes.
-------------
Marked as reviewed by jjg (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14357#pullrequestreview-1468628610
More information about the core-libs-dev
mailing list