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

Jan Lahoda jlahoda at openjdk.org
Wed Apr 24 13:15:27 UTC 2024


On Tue, 23 Apr 2024 19:35:05 GMT, Joe Darcy <darcy at openjdk.org> wrote:

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

FWIW, on a closer look, the problem is actually in Symbol completion - depending on whether the given Symbol (TypeElement) is completed or not, the output is either `java.lang.Runtime.Version` or `java.lang.Runtime$Version`. The change in behavior is therefore much smaller than originally expected, as, in many cases, the API clients were already getting the correct name.

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

PR Comment: https://git.openjdk.org/jdk/pull/18917#issuecomment-2074919932


More information about the compiler-dev mailing list