On Fri, 2 Jun 2023 22:10:44 GMT, Jim Laskey <jlas...@openjdk.org> wrote:

>> Add flexible main methods and anonymous main classes to the Java language.
>
> Jim Laskey has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Update the specification for TypeElement#getQualifiedName and 
> TypeElement#getSimpleName

src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java line 1379:

> 1377:          @Override @DefinedBy(Api.LANGUAGE_MODEL)
> 1378:          public Name getSimpleName() {
> 1379:              // return isUnnamed() ? name.subName(0, 0) /* empty name 
> */ : name;

This line could be deleted.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13689#discussion_r1215925243

Reply via email to