RFR: JDK-8267219: Javadoc method summary breaks when {@inheritDoc} from an empty parent [v3]
Hannes Wallnöfer
hannesw at openjdk.java.net
Wed May 19 09:57:41 UTC 2021
On Tue, 18 May 2021 15:36:26 GMT, liach <github.com+7806504+liach at openjdk.org> wrote:
>> This change fixes when a method body has only inline tags that produce no output, the method summary will get eaten.
>>
>> This change allows `{@inheritDoc}` from empty parents to go through the code path used by `-nocomment` and properly generate tables.
>>
>> All `jtreg:test/langtools/jdk/javadoc/doclet` tests pass.
>
> liach has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
Looks good!
I briefly thought we might want to make `isValid()` a bit more liberal in what it considers a valid HTML element, but after taking a closer look I think it's fine as it is.
-------------
Marked as reviewed by hannesw (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4066
More information about the javadoc-dev
mailing list