RFR: 8284315: DocTrees.getElement is inconsistent with Elements.getTypeElement [v2]

Hannes Wallnöfer hannesw at openjdk.org
Thu Feb 26 18:09:08 UTC 2026


On Thu, 26 Feb 2026 17:58:23 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> I realized that this use case (type variable with member lookup) was not covered in the test, which was quite the omission, so I added coverage.
>> 
>> I also looked for the other use of this pattern in javadoc but couldn't find it. If you can point me to it I'll have a look.
>
> sorry it is in this same class in method: `attributeDocReference`, not in javadoc

That's the same code before it was moved to the new `resolveMember` method in this change, so we should be fine.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29547#discussion_r2860554996


More information about the javadoc-dev mailing list