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/java.base/share/classes/java/lang/Class.java line 1884:

> 1882:                     reflective=true)
> 1883:     public boolean isUnnamedClass() {
> 1884:         return PreviewFeatures.isEnabled() && isSynthetic() && 
> isTopLevelClass();

Please add a check for final-ness as @mlchung suggested in the other PR of the 
reflection changes stand-alone.

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

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

Reply via email to