RFR: JDK-8306112 Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview) [v32]
Joe Darcy
darcy at openjdk.org
Sat Jun 3 23:24:19 UTC 2023
On Fri, 2 Jun 2023 22:10:44 GMT, Jim Laskey <jlaskey at 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
test/langtools/tools/javac/processing/model/element/TestUnnamedClass.java line 140:
> 138: }
> 139:
> 140: if (unnamedClass.getSimpleName().isEmpty()) {
Presumably the sense of the predicates testing names needs to now be reserved due to subsequent updates to the javax.lang.model support.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13689#discussion_r1215928629
More information about the compiler-dev
mailing list