RFR: 8309881: Qualified name of a type element depends on its origin (source vs class)

Joe Darcy darcy at openjdk.org
Tue Apr 23 19:37:28 UTC 2024


On Tue, 23 Apr 2024 14:41:17 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> `javax.lang.model.type.TypeMirror::toString` says: "Any names embedded in the result are qualified if possible."
> However in reality the form of the names depends on the source vs.class origin.
> 
> This patch enforces qualified name to be used.
> 
> Please review.
> 
> Thanks,
> Adam

Hi @asotona ,
The change looks fine, but please file a quick CSR for this issue to note the behavioral change. For completeness, I think this issue should get a release note.

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

Marked as reviewed by darcy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18917#pullrequestreview-2018142912


More information about the compiler-dev mailing list