RFR: 8332039: Cannot invoke "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null
Pavel Rappo
prappo at openjdk.org
Thu May 30 18:46:04 UTC 2024
On Thu, 23 May 2024 10:39:52 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
> Please review a patch to fix a NPE thrown when a `@since` tag inherited by a nested class contains a nested inline tag. The solution is to make `CommentHelper.getDocTreePath(DocTree)` able to handle block tags inherited by nested classes.
I understand the solution and see how it logically parallels the existing link between `getDocTreePath` and inheritable taglets. That said, I dislike the solution, but also cannot propose a better one at this time. The logic is repeated and spread out.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19363#issuecomment-2140644458
More information about the javadoc-dev
mailing list