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

Jonathan Gibbons jjg at openjdk.org
Thu May 30 19:06:02 UTC 2024


On Thu, 30 May 2024 18:43:28 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> 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.

@pavelrappo raises an interesting point. nested classes do not "inherit" from their enclosing class, and so putting the fix in a method dealing with inheritance seems wrong.

Either the fix should be moved or the method renamed.

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

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


More information about the javadoc-dev mailing list