inheritDoc with covariant methods
Scott Mitchell
scottmitch.openjdk at gmail.com
Wed Nov 30 16:08:26 UTC 2022
JDK19 recently started throwing warnings for {@inheritDoc} usage on
covarient methods (potentially related commit [1]). IIUC the previous
behavior was the docs weren't actually inherited but in a silent fashion.
Is the preferred approach to duplicate javadocs in this case (as done in
[2]) and is this a suitable enhancement request to avoid duplication?
[1]
https://github.com/openjdk/jdk19u/commit/59e9700c4e0ae892f15607bcaa267e5868eb0512
[2]
https://github.com/apple/servicetalk/pull/2433/commits/f97175625840228f351e8938a8f4d2f96f3f5ab0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/javadoc-dev/attachments/20221130/4b61b2bb/attachment-0001.htm>
More information about the javadoc-dev
mailing list