RFR: 8332039: Cannot invoke "com.sun.source.util.DocTreePath.getTreePath()" because "path" is null

Hannes Wallnöfer hannesw at openjdk.org
Tue Jun 4 17:24:02 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 filed a follow-up issue to refactor the code for inherited and derived doc comments:

https://bugs.openjdk.org/browse/JDK-8333557

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

PR Comment: https://git.openjdk.org/jdk/pull/19363#issuecomment-2148040277


More information about the javadoc-dev mailing list