RFR: JDK-8315458 Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview) [v43]

Joe Darcy darcy at openjdk.org
Wed Nov 29 20:20:33 UTC 2023


On Wed, 29 Nov 2023 15:25:15 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> Address changes from JEP 445 to JEP 463.
>> 
>> - Move from a SYNTHETIC unnamed class to a MANDATED implicit class.
>> 
>> - Don't mark class on read.
>> 
>> - Remove reflection and annotation processing related to unnamed classes.
>> 
>> - Simplify main method search.
>
> Jim Laskey has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Update test/jdk/tools/launcher/InstanceMainTest.java
>    
>    Co-authored-by: Jan Lahoda <51319204+lahodaj at users.noreply.github.com>
>  - Update test/jdk/tools/launcher/InstanceMainTest.java
>    
>    Co-authored-by: Jan Lahoda <51319204+lahodaj at users.noreply.github.com>

test/langtools/tools/javac/processing/model/element/TestImplicitClass.java line 120:

> 118: 
> 119:     /*
> 120:      * From JEP 445 JLS changes:

Update JEP number.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16461#discussion_r1409820065


More information about the compiler-dev mailing list