On Thu, 26 Feb 2026 17:31:33 GMT, Vicente Romero <[email protected]> wrote:
>> You are right for the common case where `type` is a parameterized class. But >> `type` could itself be a type variable, in which case we need to convert it >> to a class for the member lookup. I'm adding a comment to make the purpose >> of this clear. > > right makes sense 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. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29547#discussion_r2860478487
